summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-08-26 16:32:29 +0200
committerJonathan Cameron <jic23@kernel.org>2016-08-29 21:12:10 +0200
commit96303e20270af6e7ac9d7d98b9c68e3288d4b6ba (patch)
treea1832ce4ae456cc4dbc3cac3e6477ddf33be72e6 /drivers/iio
parentiio: magn/ak8974: avoid unused function warning (diff)
downloadlinux-96303e20270af6e7ac9d7d98b9c68e3288d4b6ba.tar.xz
linux-96303e20270af6e7ac9d7d98b9c68e3288d4b6ba.zip
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>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/magnetometer/ak8974.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/ak8974.c b/drivers/iio/magnetometer/ak8974.c
index 12bd17b4cf58..217353145676 100644
--- a/drivers/iio/magnetometer/ak8974.c
+++ b/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),
},