staging: ks7010: change netdev_dbg msg to avoid a long line
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 May 2018 04:16:08 +0000 (06:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:58:36 +0000 (18:58 -0700)
This commit avoids a long line changing a bit message in
_ks_wlan_hw_power_save function.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c

index d71c82612d29e7b0bc14f8905a5c8612eac08157..078f37e7ac4ea7b27499f889c402bd333f12a623 100644 (file)
@@ -235,7 +235,12 @@ static void _ks_wlan_hw_power_save(struct ks_wlan_private *priv)
        if (atomic_read(&priv->psstatus.status) == PS_SNOOZE)
                return;
 
-       netdev_dbg(priv->net_dev, "\npsstatus.status=%d\npsstatus.confirm_wait=%d\npsstatus.snooze_guard=%d\ncnt_txqbody=%d\n",
+       netdev_dbg(priv->net_dev,
+                  "STATUS:\n"
+                  "- psstatus.status = %d\n"
+                  "- psstatus.confirm_wait = %d\n"
+                  "- psstatus.snooze_guard = %d\n"
+                  "- txq_count = %d\n",
                   atomic_read(&priv->psstatus.status),
                   atomic_read(&priv->psstatus.confirm_wait),
                   atomic_read(&priv->psstatus.snooze_guard),