backlight-tosa: Delete unnecessary assignment for the field "owner"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 16 Aug 2016 15:10:12 +0000 (17:10 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Oct 2016 08:27:25 +0000 (09:27 +0100)
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@users.sourceforge.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/tosa_bl.c

index 83742d8..9706759 100644 (file)
@@ -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,