diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2009-01-27 17:27:56 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 15:03:34 -0500 |
commit | e1623446bb1de1834ff1c57b3e8ed341d5d4a927 (patch) | |
tree | ece3595deda6d6bad747961be257d5f2cbb507b1 /drivers/net/wireless/iwlwifi/iwl-3945-led.c | |
parent | 450154e4f471248e188d18e45c2409b37a133765 (diff) |
iwlwifi: don't use implicit priv in IWL_DEBUG
Call IWL_DEBUG macro with explicit priv argument.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-led.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-led.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-led.c b/drivers/net/wireless/iwlwifi/iwl-3945-led.c index fab137365000..2e507e912dad 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-led.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-led.c | |||
@@ -137,7 +137,7 @@ static int iwl3945_led_off(struct iwl_priv *priv, int led_id) | |||
137 | .off = 0, | 137 | .off = 0, |
138 | .interval = IWL_DEF_LED_INTRVL | 138 | .interval = IWL_DEF_LED_INTRVL |
139 | }; | 139 | }; |
140 | IWL_DEBUG_LED("led off %d\n", led_id); | 140 | IWL_DEBUG_LED(priv, "led off %d\n", led_id); |
141 | return iwl_send_led_cmd(priv, &led_cmd); | 141 | return iwl_send_led_cmd(priv, &led_cmd); |
142 | } | 142 | } |
143 | 143 | ||
@@ -174,7 +174,7 @@ static void iwl3945_led_brightness_set(struct led_classdev *led_cdev, | |||
174 | case LED_FULL: | 174 | case LED_FULL: |
175 | if (led->type == IWL_LED_TRG_ASSOC) { | 175 | if (led->type == IWL_LED_TRG_ASSOC) { |
176 | priv->allow_blinking = 1; | 176 | priv->allow_blinking = 1; |
177 | IWL_DEBUG_LED("MAC is associated\n"); | 177 | IWL_DEBUG_LED(priv, "MAC is associated\n"); |
178 | } | 178 | } |
179 | if (led->led_on) | 179 | if (led->led_on) |
180 | led->led_on(priv, IWL_LED_LINK); | 180 | led->led_on(priv, IWL_LED_LINK); |
@@ -182,7 +182,7 @@ static void iwl3945_led_brightness_set(struct led_classdev *led_cdev, | |||
182 | case LED_OFF: | 182 | case LED_OFF: |
183 | if (led->type == IWL_LED_TRG_ASSOC) { | 183 | if (led->type == IWL_LED_TRG_ASSOC) { |
184 | priv->allow_blinking = 0; | 184 | priv->allow_blinking = 0; |
185 | IWL_DEBUG_LED("MAC is disassociated\n"); | 185 | IWL_DEBUG_LED(priv, "MAC is disassociated\n"); |
186 | } | 186 | } |
187 | if (led->led_off) | 187 | if (led->led_off) |
188 | led->led_off(priv, IWL_LED_LINK); | 188 | led->led_off(priv, IWL_LED_LINK); |