浏览代码

iio: magn: ak8974: 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>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Wei Yongjun 9 年之前
父节点
当前提交
96303e2027
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/iio/magnetometer/ak8974.c

+ 0 - 1
drivers/iio/magnetometer/ak8974.c

@@ -845,7 +845,6 @@ MODULE_DEVICE_TABLE(of, ak8974_of_match);
 static struct i2c_driver ak8974_driver = {
 	.driver	 = {
 		.name	= "ak8974",
-		.owner	= THIS_MODULE,
 		.pm = &ak8974_dev_pm_ops,
 		.of_match_table = of_match_ptr(ak8974_of_match),
 	},