[media] radio-si470x-i2c: Delete owner assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 15 Aug 2016 05:01:56 +0000 (02:01 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Sep 2016 19:23:19 +0000 (16:23 -0300)
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>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/si470x/radio-si470x-i2c.c

index 471d6a8ae8a44663dd24a32d4995f5fa85217939..ee0470a3196babede3bd2312e47390072b11fd77 100644 (file)
@@ -509,7 +509,6 @@ static SIMPLE_DEV_PM_OPS(si470x_i2c_pm, si470x_i2c_suspend, si470x_i2c_resume);
 static struct i2c_driver si470x_i2c_driver = {
        .driver = {
                .name           = "si470x",
-               .owner          = THIS_MODULE,
 #ifdef CONFIG_PM_SLEEP
                .pm             = &si470x_i2c_pm,
 #endif