gpio: zevio: Remove of_match_ptr around zevio_gpio_of_match
This is a DT-only driver and it will be built only when CONFIG_OF is set. So it's pointless to use of_match_ptr. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
11d3d334af
commit
9ea8d8102b
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ static struct platform_driver zevio_gpio_driver = {
|
|||
.driver = {
|
||||
.name = "gpio-zevio",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(zevio_gpio_of_match),
|
||||
.of_match_table = zevio_gpio_of_match,
|
||||
},
|
||||
.probe = zevio_gpio_probe,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue