pch_gbe: Use PCH_GBE_PHY_REGS_LEN instead of 32
authorDarren Hart <dvhart@linux.intel.com>
Sat, 18 May 2013 21:45:55 +0000 (14:45 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 25 Jul 2013 04:29:36 +0000 (21:29 -0700)
commitb04d68ebb04aa2d4ab9392c5353a53c81be7b847
treef505535fc1e9ab176823ba3eef878153a08949d5
parent18afa4b028b46f8b45ca64f94aefe717c297b07d
pch_gbe: Use PCH_GBE_PHY_REGS_LEN instead of 32

Avoid using magic numbers when we have perfectly good defines just lying
around.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Peter Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: netdev@vger.kernel.org
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c