OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba8a6f
)
leds: lgm-sso: Remove unneeded of_match_ptr()
author
Andy Shevchenko
<andy.shevchenko@gmail.com>
Mon, 10 May 2021 09:50:27 +0000
(12:50 +0300)
committer
Pavel 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
patch
|
blob
|
history
diff --git
a/drivers/leds/blink/leds-lgm-sso.c
b/drivers/leds/blink/leds-lgm-sso.c
index
7d5f0bf
..
0b5e199
100644
(file)
--- a/
drivers/leds/blink/leds-lgm-sso.c
+++ b/
drivers/leds/blink/leds-lgm-sso.c
@@
-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
,
},
};