mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
ebe5c543cf
commit
1d2f1e084b
1 changed files with 0 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue