e1000e: cleanup: rename e1000e_id_led_init() and call as function pointer
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 22 Feb 2012 09:02:21 +0000 (09:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 25 Feb 2012 05:32:49 +0000 (21:32 -0800)
commitd1964eb138901286a170de8ed422efd227dd4daf
treeccfe9486efa7c9181fe4c14d00b024c9f312d5b1
parent5d74f1757001f5b9a7739c2a9053435e16ce516b
e1000e: cleanup: rename e1000e_id_led_init() and call as function pointer

Rename e1000e_id_led_init() to e1000e_id_led_init_generic() to signify the
function is used for more than one MAC-family type.  For the ich8lan MAC
family, some MACs use the generic function and others use the function
e1000_id_led_init_pchlan().  In all cases where e1000e_id_led_init() was
called directly, change to call the function pointer to be consistent with
the driver design.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/80003es2lan.c
drivers/net/ethernet/intel/e1000e/82571.c
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/e1000e/mac.c