e1000e: cleanup e1000_sw_lcd_config_ich8lan()
commit3f0c16e84438d657d29446f85fe375794a93f159
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 16 Jun 2010 13:26:17 +0000 (16 13:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jun 2010 05:12:15 +0000 (18 22:12 -0700)
treecc0eb3196920711aa42af3db58c7d35d4381611d
parent3af50481eee6bb278da9050266ff31804e7a57d6
e1000e: cleanup e1000_sw_lcd_config_ich8lan()

Do not acquire and release the PHY unnecessarily for parts that return
from this workaround without actually accessing the PHY registers.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c