提交 6065c9a4 编写于 作者: H Hans Wennborg 提交者: Lee Jones

mfd: htc-i2cpld: Fix %d confusingly prefixed with 0x in format string

Signed-off-by: NHans Wennborg <hans@hanshq.net>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 ddde06b1
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册