Commit 9f9d7030 authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Greg Kroah-Hartman

staging: ks7010: fix checkpatch MULTILINE_DEREFERENCE

Checkpatch emits WARNING: Avoid multiple line dereference.

Move dereference onto single line.
Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d5f1db31
...@@ -227,8 +227,7 @@ static int _ks_wlan_hw_power_save(struct ks_wlan_private *priv) ...@@ -227,8 +227,7 @@ static int _ks_wlan_hw_power_save(struct ks_wlan_private *priv)
DPRINTK(4, DPRINTK(4,
"PMG SET!! : GCR_B=%02X\n", "PMG SET!! : GCR_B=%02X\n",
rw_data); rw_data);
atomic_set(&priv->psstatus. atomic_set(&priv->psstatus.status, PS_SNOOZE);
status, PS_SNOOZE);
DPRINTK(3, DPRINTK(3,
"psstatus.status=PS_SNOOZE\n"); "psstatus.status=PS_SNOOZE\n");
} else { } else {
...@@ -236,8 +235,7 @@ static int _ks_wlan_hw_power_save(struct ks_wlan_private *priv) ...@@ -236,8 +235,7 @@ static int _ks_wlan_hw_power_save(struct ks_wlan_private *priv)
&priv->ks_wlan_hw.rw_wq, 1); &priv->ks_wlan_hw.rw_wq, 1);
} }
} else { } else {
queue_delayed_work(priv->ks_wlan_hw. queue_delayed_work(priv->ks_wlan_hw.ks7010sdio_wq,
ks7010sdio_wq,
&priv->ks_wlan_hw.rw_wq, &priv->ks_wlan_hw.rw_wq,
0); 0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment