summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-led.c
diff options
context:
space:
mode:
authorDon Fry <donald.h.fry@intel.com>2011-10-10 07:26:56 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 14:48:10 -0400
commit26bfc0cfdb6b9a12911f8dde4f96c958aef357ae (patch)
treeb9a332cf3507a3a7043188c707a7c17722e838d2 /drivers/net/wireless/iwlwifi/iwl-led.c
parent3eae4bb176d3d51f6c61b8b1679116e58586d669 (diff)
downloadtalos-obmc-linux-26bfc0cfdb6b9a12911f8dde4f96c958aef357ae.tar.gz
talos-obmc-linux-26bfc0cfdb6b9a12911f8dde4f96c958aef357ae.zip
iwlagn: eliminate bus pointer from iwl_priv structure
A pointer to the bus structure is still in iwl_priv. Finish cleanup and remove it. Signed-off-by: Don Fry <donald.h.fry@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-led.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-led.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-led.c b/drivers/net/wireless/iwlwifi/iwl-led.c
index f149165e8010..eb541735296c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-led.c
+++ b/drivers/net/wireless/iwlwifi/iwl-led.c
@@ -202,8 +202,7 @@ void iwl_leds_init(struct iwl_priv *priv)
break;
}
- ret = led_classdev_register(priv->bus->dev,
- &priv->led);
+ ret = led_classdev_register(bus(priv)->dev, &priv->led);
if (ret) {
kfree(priv->led.name);
return;
OpenPOWER on IntegriCloud