mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
i2c: do not use 0x in front of %pa
Signed-off-by: Dmitry V. Krivenok <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
parent
87cb5b425f
commit
a07f0ad789
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue