Skip to content

Commit

Permalink
backlight-tosa: Delete unnecessary assignment for the field "owner"
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
  • Loading branch information
elfring authored and Lee Jones committed Oct 6, 2016
1 parent 694d0d0 commit 3587910
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/backlight/tosa_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3587910

Please sign in to comment.