leds: lgm-sso: Remove unneeded of_match_ptr()
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Mon, 10 May 2021 09:50:27 +0000 (12:50 +0300)
committerPavel Machek <pavel@ucw.cz>
Fri, 28 May 2021 10:00:00 +0000 (12:00 +0200)
LGM SSO is an OF dependent driver, so of_match_ptr() can be safely
removed.

Remove the unneeded of_match_ptr().

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/blink/leds-lgm-sso.c

index 7d5f0bf..0b5e199 100644 (file)
@@ -868,7 +868,7 @@ static struct platform_driver intel_sso_led_driver = {
        .remove         = intel_sso_led_remove,
        .driver         = {
                        .name = "lgm-ssoled",
-                       .of_match_table = of_match_ptr(of_sso_led_match),
+                       .of_match_table = of_sso_led_match,
        },
 };