mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
power: max77693: fix platform_no_drv_owner.cocci warnings
drivers/power/max77693_charger.c:747:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Krzysztof Kozlowski <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
This commit is contained in:
parent
5b40b3e6f1
commit
a7c45b6c28
1 changed files with 0 additions and 1 deletions
|
|
@ -740,7 +740,6 @@ MODULE_DEVICE_TABLE(platform, max77693_charger_id);
|
|||
|
||||
static struct platform_driver max77693_charger_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "max77693-charger",
|
||||
},
|
||||
.probe = max77693_charger_probe,
|
||||
|
|
|
|||
Loading…
Reference in a new issue