summaryrefslogtreecommitdiff
path: root/lib/fdt_strerror.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2016-02-10 01:37:44 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-10 13:38:12 +0300
commit568b3ce7a8efdc23ad2f0b9ca8d82899cf68972d (patch)
tree6db5464426e716abcbc9185957873d767334e3c9 /lib/fdt_strerror.c
parentef5c0e253d0bde6e11a7f94e58a68c3b354afc6b (diff)
downloadlinux-568b3ce7a8efdc23ad2f0b9ca8d82899cf68972d.tar.xz
ravb: 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 ravb_modify() -- this saves 260 bytes of code with ARM gcc 4.7.3. While at it, update Cogent Embedded's copyrights. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/fdt_strerror.c')
0 files changed, 0 insertions, 0 deletions