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

Commit a7c45b6c authored by kbuild test robot's avatar kbuild test robot Committed by Sebastian Reichel
Browse files

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 <k.kozlowski@samsung.com>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 5b40b3e6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,