summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/dvm/power.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-05-07 11:47:53 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-05-11 12:54:58 +0300
commit3c6acb614d841cafbcfc3d3015400b0f6849b7af (patch)
tree6c3a754e7b7d9efc618b78025f0b748426cdb72f /drivers/net/wireless/iwlwifi/dvm/power.c
parent017a64161f6d082f6e3ed85646217bd7217af15a (diff)
downloadlwn-3c6acb614d841cafbcfc3d3015400b0f6849b7af.tar.gz
lwn-3c6acb614d841cafbcfc3d3015400b0f6849b7af.zip
iwlwifi: add missing trailing newlines to debug messages
All messages should have a trailing newline, add all the missing ones. Also make all messages constants, replacing the single one that pointlessly used a variable. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/power.c')
-rw-r--r--drivers/net/wireless/iwlwifi/dvm/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/power.c b/drivers/net/wireless/iwlwifi/dvm/power.c
index b4e61417013a..6ad7cb62ab2e 100644
--- a/drivers/net/wireless/iwlwifi/dvm/power.c
+++ b/drivers/net/wireless/iwlwifi/dvm/power.c
@@ -361,7 +361,7 @@ int iwl_power_set_mode(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd,
memcpy(&priv->power_data.sleep_cmd, cmd, sizeof(*cmd));
} else
- IWL_ERR(priv, "set power fail, ret = %d", ret);
+ IWL_ERR(priv, "set power fail, ret = %d\n", ret);
return ret;
}