OSDN Git Service

power: max77693: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Wed, 21 Jan 2015 04:11:34 +0000 (12:11 +0800)
committerSebastian Reichel <sre@kernel.org>
Wed, 21 Jan 2015 13:02:41 +0000 (14:02 +0100)
commita7c45b6c28ee65b148efc72c7b7afcd22a51e50b
tree45ea72d346bdae591002479616177235f6c3b137
parent5b40b3e6f1326b159f77509aa4b58e9f4c713ac0
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: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/max77693_charger.c