summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-05 21:42:28 -0700
committerLee Jones <lee.jones@linaro.org>2014-09-26 08:15:38 +0100
commit5e9bbf17b35f89f31e6b76b4810d8c772621c153 (patch)
tree8a6402eabc0b872cb8fd38d0a4f83d169f7ddb30 /drivers/mfd
parentf2b86781619c0822b4e0b561ef9aa499b5ed76ff (diff)
downloadop-kernel-dev-5e9bbf17b35f89f31e6b76b4810d8c772621c153.zip
op-kernel-dev-5e9bbf17b35f89f31e6b76b4810d8c772621c153.tar.gz
mfd: rtsx_usb: Fix decimal printf format specifiers prefixed with 0x
The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Found by using regex suggested by Joe Perches. Signed-off-by: Hans Wennborg <hans@hanshq.net> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/rtsx_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rtsx_usb.c b/drivers/mfd/rtsx_usb.c
index 71f387c..9cf98d1 100644
--- a/drivers/mfd/rtsx_usb.c
+++ b/drivers/mfd/rtsx_usb.c
@@ -684,7 +684,7 @@ static int rtsx_usb_suspend(struct usb_interface *intf, pm_message_t message)
struct rtsx_ucr *ucr =
(struct rtsx_ucr *)usb_get_intfdata(intf);
- dev_dbg(&intf->dev, "%s called with pm message 0x%04u\n",
+ dev_dbg(&intf->dev, "%s called with pm message 0x%04x\n",
__func__, message.event);
/*
OpenPOWER on IntegriCloud