Skip to content

Commit

Permalink
gpio: lp3943: Remove redundant of_match_ptr helper
Browse files Browse the repository at this point in the history
'lp3943_gpio_of_match' is always compiled in. Hence the
helper macro is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Sachin Kamat authored and Lee Jones committed Jan 21, 2014
1 parent 4d1d998 commit 3b1ba0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-lp3943.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b1ba0c

Please sign in to comment.