staging: ks7010: Change 'device_open_status' to a bool.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:08:52 +0000 (23:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:19:54 +0000 (14:19 +0200)
commit8102f61d453edada4395bfc664538c3e11c6464d
treedbea2e635f1772a87361d4e3d78eb0fe55363fa1
parent582475a29c85bf7f15b3a6fd82371970dc7856bd
staging: ks7010: Change 'device_open_status' to a bool.

The 'device_open_status' member of 'struct ks_wlan_private' is only
ever set to zero or one, so it makes more sense for it to be a bool
instead of an int.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan.h
drivers/staging/ks7010/ks_wlan_net.c