From 7fef54e25541c49c99ba5787bfb45216c30df3e7 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Tue, 30 Mar 2021 22:33:24 +0300 Subject: mux: gpio: Make it OF independent Module doesn't use OF APIs anyhow, make it OF independent by replacing headers and dropping useless of_match_ptr() call. Acked-by: Peter Rosin Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20210330193325.68362-2-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/mux/gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/mux') diff --git a/drivers/mux/gpio.c b/drivers/mux/gpio.c index d1b4aa923657..92cc476c916e 100644 --- a/drivers/mux/gpio.c +++ b/drivers/mux/gpio.c @@ -10,9 +10,9 @@ #include #include #include +#include #include #include -#include #include #include @@ -98,7 +98,7 @@ static int mux_gpio_probe(struct platform_device *pdev) static struct platform_driver mux_gpio_driver = { .driver = { .name = "gpio-mux", - .of_match_table = of_match_ptr(mux_gpio_dt_ids), + .of_match_table = mux_gpio_dt_ids, }, .probe = mux_gpio_probe, }; -- cgit v1.2.3-59-g8ed1b