mirror of https://gitee.com/openkylin/linux.git
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,
|
||||
.driver = {
|
||||
.name = "lgm-ssoled",
|
||||
.of_match_table = of_match_ptr(of_sso_led_match),
|
||||
.of_match_table = of_sso_led_match,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue