Przeglądaj źródła

gpio: gpio-74x164: Remove redundant of_match_ptr

'gen_74x164_dt_ids' is always compiled in. Hence the macro is not
necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Sachin Kamat 12 lat temu
rodzic
commit
187a53a5eb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/gpio/gpio-74x164.c

+ 1 - 1
drivers/gpio/gpio-74x164.c

@@ -209,7 +209,7 @@ static struct spi_driver gen_74x164_driver = {
 	.driver = {
 		.name		= "74x164",
 		.owner		= THIS_MODULE,
-		.of_match_table	= of_match_ptr(gen_74x164_dt_ids),
+		.of_match_table	= gen_74x164_dt_ids,
 	},
 	.probe		= gen_74x164_probe,
 	.remove		= gen_74x164_remove,