leds: lgm-sso: Remove unneeded of_match_ptr()

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>
This commit is contained in:
Andy Shevchenko 2021-05-10 12:50:27 +03:00 committed by Pavel Machek
parent fba8a6f226
commit 2cbbe9c50d
1 changed files with 1 additions and 1 deletions

View 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,
},
};