Commit 9ea8d810 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 11d3d334
...@@ -209,7 +209,7 @@ static struct platform_driver zevio_gpio_driver = { ...@@ -209,7 +209,7 @@ static struct platform_driver zevio_gpio_driver = {
.driver = { .driver = {
.name = "gpio-zevio", .name = "gpio-zevio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(zevio_gpio_of_match), .of_match_table = zevio_gpio_of_match,
}, },
.probe = zevio_gpio_probe, .probe = zevio_gpio_probe,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment