]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] gs1662: remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 21 Sep 2016 13:09:23 +0000 (10:09 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 24 Oct 2016 19:58:17 +0000 (17:58 -0200)
Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/spi/gs1662.c

index d76f36233f430541791441301ea8cff29eab52dd..057530bf8528cf8335de7446a7d88c9fa861fca8 100644 (file)
@@ -463,7 +463,6 @@ static int gs_remove(struct spi_device *spi)
 static struct spi_driver gs_driver = {
        .driver = {
                .name           = "gs1662",
-               .owner          = THIS_MODULE,
        },
 
        .probe          = gs_probe,