mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
i2c: jz4780: Remove of_match_ptr()
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>
This commit is contained in:
parent
266fd91f2b
commit
7eecca9daf
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue