Re: [PATCH] power: supply: smb347-charger: Drop unused include
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-05-29 15:28:36
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-05-29 15:28:36
29.05.2021 03:19, Linus Walleij пишет:
This driver is including the legacy GPIO header <linux/gpio.h> but not using any symbols from it. Delete the include. Cc: David Heidelberg <david@ixit.cz> Cc: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Linus Walleij <redacted> --- drivers/power/supply/smb347-charger.c | 1 - 1 file changed, 1 deletion(-)diff --git a/drivers/power/supply/smb347-charger.c b/drivers/power/supply/smb347-charger.c index 3376f42d46c3..df240420f2de 100644 --- a/drivers/power/supply/smb347-charger.c +++ b/drivers/power/supply/smb347-charger.c@@ -10,7 +10,6 @@ #include <linux/delay.h> #include <linux/err.h> -#include <linux/gpio.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h>
Good catch, GPIO usage was gone with the removal of legacy platform data from the driver, which Sebastian did not so long time ago. Reviewed-by: Dmitry Osipenko <digetx@gmail.com>