Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b1ba0cb authored by Sachin Kamat's avatar Sachin Kamat Committed by Lee Jones
Browse files

gpio: lp3943: Remove redundant of_match_ptr helper



'lp3943_gpio_of_match' is always compiled in. Hence the
helper macro is not needed.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 4d1d9980
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ static struct platform_driver lp3943_gpio_driver = {
	.driver = {
		.name = "lp3943-gpio",
		.owner = THIS_MODULE,
		.of_match_table = of_match_ptr(lp3943_gpio_of_match),
		.of_match_table = lp3943_gpio_of_match,
	},
};
module_platform_driver(lp3943_gpio_driver);