diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-13 11:06:22 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-08-16 00:36:06 +0200 |
commit | 1bbd3d282557cf5e544cc749d577bd7cefe929f4 (patch) | |
tree | ae1f362c454dbec5eb32fa5cd3e188f60fa00651 /drivers | |
parent | power: reset: syscon-reboot-mode: Use managed resource API (diff) | |
download | linux-1bbd3d282557cf5e544cc749d577bd7cefe929f4.tar.xz linux-1bbd3d282557cf5e544cc749d577bd7cefe929f4.zip |
power: z2_battery: 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 <weiyj.lk@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/supply/z2_battery.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/supply/z2_battery.c b/drivers/power/supply/z2_battery.c index b201e3facf73..8a43b49cfd35 100644 --- a/drivers/power/supply/z2_battery.c +++ b/drivers/power/supply/z2_battery.c @@ -317,7 +317,6 @@ MODULE_DEVICE_TABLE(i2c, z2_batt_id); static struct i2c_driver z2_batt_driver = { .driver = { .name = "z2-battery", - .owner = THIS_MODULE, .pm = Z2_BATTERY_PM_OPS }, .probe = z2_batt_probe, |