diff options
author | Dmitry V. Krivenok <krivenok.dmitry@gmail.com> | 2015-11-30 15:45:46 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-11-30 20:01:27 -0500 |
commit | a07f0ad7895303ec37155655229ca2a07080d135 (patch) | |
tree | a30f9dcb557ab42ff597d1169883da5729124d73 | |
parent | 87cb5b425fa32094972868b50e65083c586509a3 (diff) |
i2c: do not use 0x in front of %pa
Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/i2c/busses/i2c-st.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index ea72dca32fdf..25020ec777c9 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c | |||
@@ -822,7 +822,7 @@ static int st_i2c_probe(struct platform_device *pdev) | |||
822 | 822 | ||
823 | adap = &i2c_dev->adap; | 823 | adap = &i2c_dev->adap; |
824 | i2c_set_adapdata(adap, i2c_dev); | 824 | i2c_set_adapdata(adap, i2c_dev); |
825 | snprintf(adap->name, sizeof(adap->name), "ST I2C(0x%pa)", &res->start); | 825 | snprintf(adap->name, sizeof(adap->name), "ST I2C(%pa)", &res->start); |
826 | adap->owner = THIS_MODULE; | 826 | adap->owner = THIS_MODULE; |
827 | adap->timeout = 2 * HZ; | 827 | adap->timeout = 2 * HZ; |
828 | adap->retries = 0; | 828 | adap->retries = 0; |