Message ID | 20231128-descriptors-iio-v1-1-da1e94755db6@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: proximity: irsd200: Drop unused include | expand |
On Tue, Nov 28, 2023 at 23:56 +0100 Linus Walleij <linus.walleij@linaro.org> wrote: > The driver includes the legacy GPIO header <linux/gpio.h> but doesn't > use any symbols from it. Drop it. > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Waqar Hameed <waqar.hameed@axis.com>
On Wed, 29 Nov 2023 10:31:26 +0100 Waqar Hameed <waqar.hameed@axis.com> wrote: > On Tue, Nov 28, 2023 at 23:56 +0100 Linus Walleij <linus.walleij@linaro.org> wrote: > > > The driver includes the legacy GPIO header <linux/gpio.h> but doesn't > > use any symbols from it. Drop it. > > > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > > Reviewed-by: Waqar Hameed <waqar.hameed@axis.com> Applied
diff --git a/drivers/iio/proximity/irsd200.c b/drivers/iio/proximity/irsd200.c index bdff91f6b1a3..323ac6dac90e 100644 --- a/drivers/iio/proximity/irsd200.c +++ b/drivers/iio/proximity/irsd200.c @@ -7,7 +7,6 @@ #include <asm/unaligned.h> #include <linux/bitfield.h> -#include <linux/gpio.h> #include <linux/i2c.h> #include <linux/module.h> #include <linux/regmap.h>
The driver includes the legacy GPIO header <linux/gpio.h> but doesn't use any symbols from it. Drop it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/iio/proximity/irsd200.c | 1 - 1 file changed, 1 deletion(-) --- base-commit: 05b5bdf18a6ba2dd9db82b6296d4edd6465b6210 change-id: 20231128-descriptors-iio-67062aeb4637 Best regards,