diff options
author | Glen Lee | 2015-10-01 09:03:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-02 11:59:52 +0200 |
commit | 894de36b1ae8cf78514a686c381dd5c3c4812a04 (patch) | |
tree | 8a1c3c502b26e7599dc4e8223d4add5ec8a90610 /drivers/staging/wilc1000/coreconfigurator.c | |
parent | staging: wilc1000: remove function pointer wlan_cfg_get (diff) | |
download | kernel-qcow2-linux-894de36b1ae8cf78514a686c381dd5c3c4812a04.tar.gz kernel-qcow2-linux-894de36b1ae8cf78514a686c381dd5c3c4812a04.tar.xz kernel-qcow2-linux-894de36b1ae8cf78514a686c381dd5c3c4812a04.zip |
staging: wilc1000: remove function pointer wlan_cfg_get_value
This patch removes function pointer wlan_cfg_get_value and just call
the function wilc_wlan_cfg_get_val. Remove static from the function also.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.c')
-rw-r--r-- | drivers/staging/wilc1000/coreconfigurator.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 74ff763cc6a3..246abb562d93 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -629,9 +629,10 @@ s32 send_config_pkt(u8 u8Mode, tstrWID *pstrWIDs, } counter = 0; for (counter = 0; counter < u32WIDsCount; counter++) { - pstrWIDs[counter].s32ValueSize = gpstrWlanOps->wlan_cfg_get_value( + pstrWIDs[counter].s32ValueSize = wilc_wlan_cfg_get_val( pstrWIDs[counter].u16WIDid, - pstrWIDs[counter].ps8WidVal, pstrWIDs[counter].s32ValueSize); + pstrWIDs[counter].ps8WidVal, + pstrWIDs[counter].s32ValueSize); } } else if (u8Mode == SET_CFG) { |