aboutsummaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2018-12-26 11:53:57 -0500
committerSebastian Reichel <sebastian.reichel@collabora.com>2019-01-20 22:39:23 +0100
commit19836a1b8e28f61109514fbe86d36f6aac38bb70 (patch)
treefdc063897f1a86a2d2810e4bd84030bda85f8633 /drivers/power
parent6f12e46eebf1a7d4fdd66df5e815df96b8f8b1b5 (diff)
downloadlinux-stericsson-19836a1b8e28f61109514fbe86d36f6aac38bb70.tar.gz
power: supply: remove some duplicated includes
We include of.h twice. It's unnecessary,so just remove them. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/power_supply_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/power/supply/power_supply_core.c b/drivers/power/supply/power_supply_core.c
index 569790ea6917..07a85e19615c 100644
--- a/drivers/power/supply/power_supply_core.c
+++ b/drivers/power/supply/power_supply_core.c
@@ -156,8 +156,6 @@ static void power_supply_deferred_register_work(struct work_struct *work)
}
#ifdef CONFIG_OF
-#include <linux/of.h>
-
static int __power_supply_populate_supplied_from(struct device *dev,
void *data)
{