mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
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:
parent
fba8a6f226
commit
2cbbe9c50d
@ -868,7 +868,7 @@ static struct platform_driver intel_sso_led_driver = {
|
|||||||
.remove = intel_sso_led_remove,
|
.remove = intel_sso_led_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "lgm-ssoled",
|
.name = "lgm-ssoled",
|
||||||
.of_match_table = of_match_ptr(of_sso_led_match),
|
.of_match_table = of_sso_led_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user