Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: tb10x: Remove redundant of_match_ptr helper

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Sachin Kamat and committed by
Linus Walleij
b10b45c0 3509c6fa

+1 -1
+1 -1
drivers/gpio/gpio-tb10x.c
··· 318 318 .remove = tb10x_gpio_remove, 319 319 .driver = { 320 320 .name = "tb10x-gpio", 321 - .of_match_table = of_match_ptr(tb10x_gpio_dt_ids), 321 + .of_match_table = tb10x_gpio_dt_ids, 322 322 .owner = THIS_MODULE, 323 323 } 324 324 };