浏览代码

[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 <weiyongjun1@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Wei Yongjun 9 年之前
父节点
当前提交
b7491e7e90
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/media/spi/gs1662.c

+ 0 - 1
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,