[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c85b9860-8978-70b9-7cf2-93894d5b0b19@users.sourceforge.net>
Date: Tue, 16 Aug 2016 17:17:17 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Vegard Nossum <vegard.nossum@...il.com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Lee Jones <lee.jones@...aro.org>,
Jingoo Han <jingoohan1@...il.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
linux-fbdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH v2] backlight-tosa: Delete unnecessary assignment for the
field "owner"
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Tue, 16 Aug 2016 17:10:12 +0200
The field "owner" is set by the core.
Thus delete an unneeded initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
v2: The commit message was adjusted.
drivers/video/backlight/tosa_bl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
index 83742d8..9706759 100644
--- a/drivers/video/backlight/tosa_bl.c
+++ b/drivers/video/backlight/tosa_bl.c
@@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id);
static struct i2c_driver tosa_bl_driver = {
.driver = {
.name = "tosa-bl",
- .owner = THIS_MODULE,
.pm = &tosa_bl_pm_ops,
},
.probe = tosa_bl_probe,
--
2.9.2
Powered by blists - more mailing lists