Skip to content

Commit

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

Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
  • Loading branch information
Sachin Kamat authored and linusw committed Jan 2, 2014
1 parent 3509c6f commit b10b45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-tb10x.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ static struct platform_driver tb10x_gpio_driver = {
.remove = tb10x_gpio_remove,
.driver = {
.name = "tb10x-gpio",
.of_match_table = of_match_ptr(tb10x_gpio_dt_ids),
.of_match_table = tb10x_gpio_dt_ids,
.owner = THIS_MODULE,
}
};
Expand Down

0 comments on commit b10b45c

Please sign in to comment.