diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-08-03 17:19:15 -0700 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-08-20 13:27:48 +0100 |
commit | 6065c9a472cc1a3c66a0a6a2b1b4143558c1361e (patch) | |
tree | ac59a24beaf2920d49efdf449e285fd486756a63 /drivers/mfd/htc-i2cpld.c | |
parent | ddde06b1816e78c871512cc1f29a4944a4197b5e (diff) |
mfd: htc-i2cpld: Fix %d confusingly prefixed with 0x in format string
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/htc-i2cpld.c')
-rw-r--r-- | drivers/mfd/htc-i2cpld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c index b44f0203983b..6bdb78c2ac77 100644 --- 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 */ |