Thread (4 messages) 4 messages, 3 authors, 2017-08-20

[PATCH] input/keyboard: fix platform_no_drv_owner.cocci warnings

flat view
STALE3339d

From: Julia Lawall <hidden>
Date: 2017-08-20 09:19:42
Also in: alsa-devel, lkml

No need to set .owner here. The core will do it.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Fixes: 52cf590518d7 ("input/keyboard: Add support for Dollar Cove TI power button")
Signed-off-by: Julia Lawall <redacted>
Signed-off-by: Fengguang Wu <redacted>
---

 dc_ti_pwrbtn.c |    1 -
 1 file changed, 1 deletion(-)
--- a/drivers/input/keyboard/dc_ti_pwrbtn.c
+++ b/drivers/input/keyboard/dc_ti_pwrbtn.c
@@ -75,7 +75,6 @@ static int dc_ti_pwrbtn_probe(struct pla
 static struct platform_driver dc_ti_pwrbtn_driver = {
 	.driver = {
 		.name = DRIVER_NAME,
-		.owner = THIS_MODULE,
 	},
 	.probe	= dc_ti_pwrbtn_probe,
 };
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help