summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-12 16:18:34 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 10:59:47 +0200
commit85f0024fc3e9eedeb30c25cc93c93305aa5c63ac (patch)
treeb7b3163cefde643716e211599e7e504694925892 /drivers/mfd
parent8f154c0fc9fa3bcba0ed8f4527a15054ae013023 (diff)
Fix Introduced warnings
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/ab8500-debugfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c
index 5c871ae4554..a1330deef31 100644
--- a/drivers/mfd/ab8500-debugfs.c
+++ b/drivers/mfd/ab8500-debugfs.c
@@ -775,9 +775,9 @@ static ssize_t hwreg_common_write(char *b, struct hwreg_cfg *cfg,
/* args are ok, update target cfg (mainly for read) */
*cfg = loc;
-#if ABB_HWREG_DEBUG
- pr_warn("HWREG request: %s, %s, addr=0x%08X, mask=0x%X, shift=%d
- value=0x%X\n", (write) ? "write" : "read",
+#ifdef ABB_HWREG_DEBUG
+ pr_warn("HWREG request: %s, %s, addr=0x%08X, mask=0x%X, shift=%d"
+ "value=0x%X\n", (write) ? "write" : "read",
REG_FMT_DEC(cfg) ? "decimal" : "hexa",
cfg->addr, cfg->mask, cfg->shift, val);
#endif