Thread (7 messages) 7 messages, 3 authors, 2016-08-17

Re: [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner"

From: Lee Jones <hidden>
Date: 2016-08-17 09:48:21
Also in: kernel-janitors, lkml

On Tue, 16 Aug 2016, SF Markus Elfring wrote:
From: Markus Elfring <redacted>
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 <redacted>
---

v2: The commit message was adjusted.

 drivers/video/backlight/tosa_bl.c | 1 -
 1 file changed, 1 deletion(-)
Applied, thanks.
quoted hunk ↗ jump to hunk
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,
-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help