power: supply: remove some duplicated includes
authorYangtao Li <tiny.windzz@gmail.com>
Wed, 26 Dec 2018 16:53:57 +0000 (11:53 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 20 Jan 2019 21:39:23 +0000 (22:39 +0100)
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>
drivers/power/supply/power_supply_core.c

index 569790e..07a85e1 100644 (file)
@@ -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)
 {