mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
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
@ -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 New Issue
Block a user