diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-12-29 13:53:38 +0100 |
|---|---|---|
| committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-12-29 14:52:18 +0100 |
| commit | c77851631c36fa002c72064d4f10d77707b58ca9 (patch) | |
| tree | a2e69ddf7f98309ca9b80d9d27e1fe7ac8ac37f6 /drivers/auxdisplay | |
| parent | a8f4a4fb34accd19081484d54631f8cacf1eb06b (diff) | |
| download | linux-next-c77851631c36fa002c72064d4f10d77707b58ca9.tar.gz linux-next-c77851631c36fa002c72064d4f10d77707b58ca9.zip | |
auxdisplay: arm-charlcd: drop of_match_ptr()
The general recommendation is to not use of_match_ptr(). Drop it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/auxdisplay')
| -rw-r--r-- | drivers/auxdisplay/arm-charlcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/auxdisplay/arm-charlcd.c b/drivers/auxdisplay/arm-charlcd.c index eeabbca7923d..6a83eacb458c 100644 --- a/drivers/auxdisplay/arm-charlcd.c +++ b/drivers/auxdisplay/arm-charlcd.c @@ -9,8 +9,8 @@ */ #include <linux/init.h> #include <linux/interrupt.h> +#include <linux/mod_devicetable.h> #include <linux/platform_device.h> -#include <linux/of.h> #include <linux/completion.h> #include <linux/delay.h> #include <linux/io.h> @@ -328,7 +328,7 @@ static struct platform_driver charlcd_driver = { .name = DRIVERNAME, .pm = &charlcd_pm_ops, .suppress_bind_attrs = true, - .of_match_table = of_match_ptr(charlcd_match), + .of_match_table = charlcd_match, }, }; builtin_platform_driver_probe(charlcd_driver, charlcd_probe); |
