projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266fd91
)
i2c: jz4780: Remove of_match_ptr()
author
Paul Cercueil
<paul@crapouillou.net>
Fri, 4 Sep 2020 13:11:52 +0000
(15:11 +0200)
committer
Wolfram Sang
<wsa@kernel.org>
Mon, 21 Sep 2020 09:46:05 +0000
(11:46 +0200)
CONFIG_OF is selected by CONFIG_MACH_INGENIC, therefore we don't need to
handle the case where Device Tree is not supported.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-jz4780.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-jz4780.c
b/drivers/i2c/busses/i2c-jz4780.c
index ed2ec86f6f1a1f1e0f601db1037b3294988e37d9..cb4a25ebb89008d12edafa85e57ddbfa49668389 100644
(file)
--- a/
drivers/i2c/busses/i2c-jz4780.c
+++ b/
drivers/i2c/busses/i2c-jz4780.c
@@
-857,7
+857,7
@@
static struct platform_driver jz4780_i2c_driver = {
.remove = jz4780_i2c_remove,
.driver = {
.name = "jz4780-i2c",
- .of_match_table =
of_match_ptr(jz4780_i2c_of_matches)
,
+ .of_match_table =
jz4780_i2c_of_matches
,
},
};