]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: wilc1000: change data type of wid argument in wilc_wlan_cfg_set
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 28 Mar 2016 04:55:56 +0000 (13:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:39:52 +0000 (12:39 -0700)
commit70011f5f2cbdadb52536ae752d2a4d59189df03f
tree35e869bb65d9ff749768fdcc36f012550f53387c
parent5d145b1ad404e8cb260283d8a8b0747261698c73
staging: wilc1000: change data type of wid argument in wilc_wlan_cfg_set

This patch changes data type of wid argument in wilc_wlan_cfg_set 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_set_wid 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