diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-09-22 10:21:48 +0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-23 20:23:30 +0100 |
commit | 1d2f1e084b7386b4082ebc2490ce0ddc8efe5667 (patch) | |
tree | c2d73d3194d5cab3ed61075bd53a0e39d99960e4 /drivers/iio/light | |
parent | ebe5c543cf8ed3010881a8d863e954b961013fea (diff) |
iio: light: apds9960: fix platform_no_drv_owner.cocci warnings
drivers/iio/light/apds9960.c:1125:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light')
-rw-r--r-- | drivers/iio/light/apds9960.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c index 8d7ce6a9296d..bf80ce47926b 100644 --- a/drivers/iio/light/apds9960.c +++ b/drivers/iio/light/apds9960.c @@ -1118,7 +1118,6 @@ static struct i2c_driver apds9960_driver = { .driver = { .name = APDS9960_DRV_NAME, .pm = &apds9960_pm_ops, - .owner = THIS_MODULE, }, .probe = apds9960_probe, .remove = apds9960_remove, |