projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dfdd2a
)
power: z2_battery: remove .owner field for driver
author
Wei Yongjun
<weiyj.lk@gmail.com>
Sat, 13 Aug 2016 09:06:22 +0000
(09:06 +0000)
committer
Sebastian Reichel
<sre@kernel.org>
Mon, 15 Aug 2016 22:36:06 +0000
(
00:36
+0200)
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>
drivers/power/supply/z2_battery.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/supply/z2_battery.c
b/drivers/power/supply/z2_battery.c
index b201e3facf7343abe17439d93ea4eacd234a1e30..8a43b49cfd35f0966461ea0cca32847c9f55861e 100644
(file)
--- 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,