summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-08-13 11:06:22 +0200
committerSebastian Reichel <sre@kernel.org>2016-08-16 00:36:06 +0200
commit1bbd3d282557cf5e544cc749d577bd7cefe929f4 (patch)
treeae1f362c454dbec5eb32fa5cd3e188f60fa00651 /drivers
parentpower: reset: syscon-reboot-mode: Use managed resource API (diff)
downloadlinux-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.c1
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,