staging: wilc1000: change data type of wid argument in wilc_wlan_cfg_get_val
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 28 Mar 2016 04:55:58 +0000 (13:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:39:52 +0000 (12:39 -0700)
commitc975f9dd106461794d339348e2f4b4812d154875
tree83c7a807995e28964ab6eb799faa169fe0d19373
parent7db699dbe5107073050c123b05495e9c271f62fe
staging: wilc1000: change data type of wid argument in wilc_wlan_cfg_get_val

This patch changes data type of wid argument in wilc_wlan_cfg_get_val
from u32 to u16. It is better to change data type of wid because wid has
one of enum WID_T that is data type of u16. And, there is no need to use
u16 type casting when calling wilc_wlan_cfg_get_wid_value function.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan.h