sh_eth: stop using bare numbers for EESIPR values
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 29 Jan 2017 12:13:48 +0000 (15:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jan 2017 03:05:43 +0000 (22:05 -0500)
commit2b2d3eb41c920b47df2fcedd1489cf748bd09466
tree431604a568cd2303973470de326bd9731370a025
parent00300b2aac27556e2829cfd047b787af0f13b081
sh_eth: stop using bare numbers for EESIPR values

Now  that we  have almost all EESIPR bits declared (and those  that are
still not are most probably reserved anyway) we can at last replace the
bare  numbers used for 'sh_eth_cpu_data::eesipr_value' initializers with
the bit names ORed together...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c