linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] backlight-tosa: Delete owner assignment
@ 2016-08-15 11:12 SF Markus Elfring
  2016-08-15 11:39 ` Vegard Nossum
  0 siblings, 1 reply; 7+ messages in thread
From: SF Markus Elfring @ 2016-08-15 11:12 UTC (permalink / raw)
  To: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen
  Cc: LKML, kernel-janitors, Julia Lawall

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 Aug 2016 13:03:29 +0200

The field "owner" is set by core. Thus delete an extra initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-17  9:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15 11:12 [PATCH] backlight-tosa: Delete owner assignment SF Markus Elfring
2016-08-15 11:39 ` Vegard Nossum
2016-08-15 13:25   ` SF Markus Elfring
2016-08-15 13:37     ` Vegard Nossum
2016-08-15 13:46   ` [PATCH] " Lee Jones
2016-08-16 15:17   ` [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner" SF Markus Elfring
2016-08-17  9:49     ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).