Commit a07f0ad7 authored by Dmitry V. Krivenok's avatar Dmitry V. Krivenok Committed by Wolfram Sang

i2c: do not use 0x in front of %pa

Signed-off-by: default avatarDmitry V. Krivenok <krivenok.dmitry@gmail.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 87cb5b42
......@@ -822,7 +822,7 @@ static int st_i2c_probe(struct platform_device *pdev)
adap = &i2c_dev->adap;
i2c_set_adapdata(adap, i2c_dev);
snprintf(adap->name, sizeof(adap->name), "ST I2C(0x%pa)", &res->start);
snprintf(adap->name, sizeof(adap->name), "ST I2C(%pa)", &res->start);
adap->owner = THIS_MODULE;
adap->timeout = 2 * HZ;
adap->retries = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment