mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
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>
This commit is contained in:
parent
8dfdd2a842
commit
1bbd3d2825
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue