diff options
author | Don Fry <donald.h.fry@intel.com> | 2011-10-10 07:26:56 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-14 14:48:10 -0400 |
commit | 26bfc0cfdb6b9a12911f8dde4f96c958aef357ae (patch) | |
tree | b9a332cf3507a3a7043188c707a7c17722e838d2 /drivers/net/wireless/iwlwifi/iwl-led.c | |
parent | 3eae4bb176d3d51f6c61b8b1679116e58586d669 (diff) | |
download | talos-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.c | 3 |
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; |