Commit 2cbbe9c5 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Pavel Machek

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: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent fba8a6f2
......@@ -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,
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment