summaryrefslogtreecommitdiff
path: root/drivers/staging/winbond/mto.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-04-08 11:51:21 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:38 -0700
commit40abfccbc73d2303a68ace9939167c184dd3d065 (patch)
tree2089a0cc3016fdf791698ff54b521a25fc18f1fc /drivers/staging/winbond/mto.c
parent22a82bcd5bc99fb7411ea8eca6e926bb0a82a6d5 (diff)
Staging: w35und: inline hal_set_rf_power() to mto.c
Impact: cleanup It's a trivial wrapper that is used in only one place, so lets inline it. Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/mto.c')
-rw-r--r--drivers/staging/winbond/mto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/winbond/mto.c b/drivers/staging/winbond/mto.c
index 94a060bcc628..7deb5c769763 100644
--- a/drivers/staging/winbond/mto.c
+++ b/drivers/staging/winbond/mto.c
@@ -175,7 +175,7 @@ void MTO_Init(struct wbsoft_priv *adapter)
}
else //follow the setting from EEPROM
MTOPARA_TXPOWER_INDEX() = MTO_TXPOWER_FROM_EEPROM;
- hal_set_rf_power(MTO_HAL(), (u8)MTOPARA_TXPOWER_INDEX());
+ RFSynthesizer_SetPowerIndex(MTO_HAL(), (u8)MTOPARA_TXPOWER_INDEX());
//------------------------------------------------
// For RSSI turning 20060808.4 Cancel load from EEPROM