projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddde06b
)
mfd: htc-i2cpld: Fix %d confusingly prefixed with 0x in format string
author
Hans Wennborg
<hans@hanshq.net>
Mon, 4 Aug 2014 00:19:15 +0000
(17:19 -0700)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 20 Aug 2014 12:27:48 +0000
(13:27 +0100)
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/htc-i2cpld.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/htc-i2cpld.c
b/drivers/mfd/htc-i2cpld.c
index b44f0203983bfb5117c02be8469074814c24a18f..6bdb78c2ac77de535214d80a09cd9a302653d219 100644
(file)
--- a/
drivers/mfd/htc-i2cpld.c
+++ b/
drivers/mfd/htc-i2cpld.c
@@
-404,7
+404,7
@@
static int htcpld_register_chip_i2c(
}
i2c_set_clientdata(client, chip);
- snprintf(client->name, I2C_NAME_SIZE, "Chip_0x%
d
", client->addr);
+ snprintf(client->name, I2C_NAME_SIZE, "Chip_0x%
x
", client->addr);
chip->client = client;
/* Reset the chip */