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
......@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment