From: Wei Yongjun Date: Wed, 21 Sep 2016 13:09:23 +0000 (-0300) Subject: [media] gs1662: remove .owner field for driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7491e7e902a488503982c9be098cac578a94bdc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] gs1662: remove .owner field for driver 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/spi/gs1662.c b/drivers/media/spi/gs1662.c index d76f36233f43..057530bf8528 100644 --- a/drivers/media/spi/gs1662.c +++ b/drivers/media/spi/gs1662.c @@ -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,