提交 3b1ba0cb 编写于 作者: S Sachin Kamat 提交者: Lee Jones

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: NSachin Kamat <sachin.kamat@linaro.org>
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 4d1d9980
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册