]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6394c6e24d49f1be60a1469aceb02991d9401c8a
tree83c7a807995e28964ab6eb799faa169fe0d19373
parentaeff162a1d49530a32f350cfe866de3a89d5ce69
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