aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-4965-led.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-08-24 09:14:03 -0400
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 05:22:15 -0500
commit841b2ccac3251fdbf7a0bc26724874cdc35df96c (patch)
tree009166cc494f8b4c1aa4247b40e0bd82ce63e41f /drivers/net/wireless/iwlegacy/iwl-4965-led.c
parentb6297cd2aa4ec318b3634e6c1ca4cf063a0042c9 (diff)
iwlegacy: rename il_{read,write}32 to _il_{rd,wr}
Introduce rule that underscore at the beginning mean unlocked I/O method. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-4965-led.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-4965-led.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965-led.c b/drivers/net/wireless/iwlegacy/iwl-4965-led.c
index 1436a1b7ebf6..48541577202a 100644
--- a/drivers/net/wireless/iwlegacy/iwl-4965-led.c
+++ b/drivers/net/wireless/iwlegacy/iwl-4965-led.c
@@ -55,9 +55,9 @@ il4965_send_led_cmd(struct il_priv *il, struct il_led_cmd *led_cmd)
55 }; 55 };
56 u32 reg; 56 u32 reg;
57 57
58 reg = il_read32(il, CSR_LED_REG); 58 reg = _il_rd(il, CSR_LED_REG);
59 if (reg != (reg & CSR_LED_BSM_CTRL_MSK)) 59 if (reg != (reg & CSR_LED_BSM_CTRL_MSK))
60 il_write32(il, CSR_LED_REG, reg & CSR_LED_BSM_CTRL_MSK); 60 _il_wr(il, CSR_LED_REG, reg & CSR_LED_BSM_CTRL_MSK);
61 61
62 return il_send_cmd(il, &cmd); 62 return il_send_cmd(il, &cmd);
63} 63}
@@ -65,7 +65,7 @@ il4965_send_led_cmd(struct il_priv *il, struct il_led_cmd *led_cmd)
65/* Set led register off */ 65/* Set led register off */
66void il4965_led_enable(struct il_priv *il) 66void il4965_led_enable(struct il_priv *il)
67{ 67{
68 il_write32(il, CSR_LED_REG, CSR_LED_REG_TRUN_ON); 68 _il_wr(il, CSR_LED_REG, CSR_LED_REG_TRUN_ON);
69} 69}
70 70
71const struct il_led_ops il4965_led_ops = { 71const struct il_led_ops il4965_led_ops = {