Messages in this thread Patch in this message | | | From | Linus Walleij <> | Subject | [PATCH] regulator: max77802: Drop unused includes | Date | Sun, 9 Jun 2019 13:05:13 +0200 |
| |
This driver does not use any symbols from <linux/gpio.h> no <linux/gpio/consumer.h> so just drop the includes.
Cc: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/regulator/max77802-regulator.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/regulator/max77802-regulator.c b/drivers/regulator/max77802-regulator.c index ea7b50397300..7b8ec8c0bd15 100644 --- a/drivers/regulator/max77802-regulator.c +++ b/drivers/regulator/max77802-regulator.c @@ -14,9 +14,7 @@ #include <linux/kernel.h> #include <linux/bug.h> #include <linux/err.h> -#include <linux/gpio.h> #include <linux/slab.h> -#include <linux/gpio/consumer.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/regulator/driver.h> -- 2.20.1
| |