summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-01-21 05:11:34 +0100
committerSebastian Reichel <sre@kernel.org>2015-01-21 14:02:41 +0100
commita7c45b6c28ee65b148efc72c7b7afcd22a51e50b (patch)
tree45ea72d346bdae591002479616177235f6c3b137 /drivers/power
parentpower: max77693: fix simple_return.cocci warnings (diff)
downloadlinux-a7c45b6c28ee65b148efc72c7b7afcd22a51e50b.tar.xz
linux-a7c45b6c28ee65b148efc72c7b7afcd22a51e50b.zip
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/max77693_charger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/max77693_charger.c b/drivers/power/max77693_charger.c
index 841047cb9ff1..b042970fdeaf 100644
--- a/drivers/power/max77693_charger.c
+++ b/drivers/power/max77693_charger.c
@@ -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,