projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87cb5b4
)
i2c: do not use 0x in front of %pa
author
Dmitry V. Krivenok
<krivenok.dmitry@gmail.com>
Mon, 30 Nov 2015 20:45:46 +0000
(23:45 +0300)
committer
Wolfram Sang
<wsa@the-dreams.de>
Tue, 1 Dec 2015 01:01:27 +0000
(
02:01
+0100)
Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-st.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-st.c
b/drivers/i2c/busses/i2c-st.c
index ea72dca32fdfde83cfdd223525a915a5721d6816..25020ec777c9783bf5c62853051707bace5c4483 100644
(file)
--- 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)
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;