diff options
| author | 2016-02-10 01:38:28 +0300 | |
|---|---|---|
| committer | 2016-02-10 05:38:12 -0500 | |
| commit | b2b14d2f57df89fc2d57099ce13c5b513061d3a1 (patch) | |
| tree | 0441c807bf79ead3cbe39d553920b66c99917b1b /include/linux | |
| parent | ravb: factor out register bit twiddling code (diff) | |
sh_eth: factor out register bit twiddling code
The driver has often repeated pattern of reading a register, AND'ing and/or
OR'ing some bits and writing the value back. Factor the pattern out into
sh_eth_modify() -- this saves 84 bytes of code with ARM gcc 4.7.3.
While at it, update Cogent Embedded's copyright.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
