Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bbd3d28 authored by Wei Yongjun's avatar Wei Yongjun Committed by Sebastian Reichel
Browse files

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: default avatarWei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 8dfdd2a8
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -317,7 +317,6 @@ MODULE_DEVICE_TABLE(i2c, z2_batt_id);
static struct i2c_driver z2_batt_driver = {
static struct i2c_driver z2_batt_driver = {
	.driver	= {
	.driver	= {
		.name	= "z2-battery",
		.name	= "z2-battery",
		.owner	= THIS_MODULE,
		.pm	= Z2_BATTERY_PM_OPS
		.pm	= Z2_BATTERY_PM_OPS
	},
	},
	.probe		= z2_batt_probe,
	.probe		= z2_batt_probe,