[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1708201118140.3678@hadrien>
Date:   Sun, 20 Aug 2017 11:19:38 +0200 (CEST)
From:   Julia Lawall <julia.lawall@...6.fr>
To:     Takashi Iwai <tiwai@...e.de>
cc:     alsa-devel@...a-project.org,
        Dmitry Torokhov <dmitry.torokhov@...il.com>,
        linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
        kbuild-all@...org
Subject: [PATCH] input/keyboard: fix platform_no_drv_owner.cocci warnings
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 <julia.lawall@...6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
 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,
 };
Powered by blists - more mailing lists
 
