mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
staging: ks7010: change local variable type in _ks_wlan_hw_power_save
Local variable 'byte' in _ks_wlan_hw_power_save function is declared as unsigned char and can be declared as u8 which is preferred. It is being using with ks7010_sdio_readb which expects u8 already. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
49705f9a0d
commit
9d418fa883
@@ -217,7 +217,7 @@ void ks_wlan_hw_wakeup_request(struct ks_wlan_private *priv)
|
||||
|
||||
static void _ks_wlan_hw_power_save(struct ks_wlan_private *priv)
|
||||
{
|
||||
unsigned char byte;
|
||||
u8 byte;
|
||||
int ret;
|
||||
|
||||
if (priv->reg.power_mgmt == POWER_MGMT_ACTIVE)
|
||||
|
||||
Reference in New Issue
Block a user