diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-09-04 15:11:52 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-09-21 11:46:05 +0200 |
commit | 7eecca9daf9acafd8d3b910af52bd1453aa501da (patch) | |
tree | 490832f5dd2e9a3f4247bc285b438e5c21a0a5c6 /drivers/i2c | |
parent | i2c: jz4780: Add compatible string for JZ4770 SoC (diff) | |
download | linux-7eecca9daf9acafd8d3b910af52bd1453aa501da.tar.xz linux-7eecca9daf9acafd8d3b910af52bd1453aa501da.zip |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-jz4780.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-jz4780.c b/drivers/i2c/busses/i2c-jz4780.c index ed2ec86f6f1a..cb4a25ebb890 100644 --- 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, }, }; |