2023-11-28 22:56:51

by Linus Walleij

[permalink] [raw]
Subject: [PATCH] iio: proximity: irsd200: Drop unused include

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 <[email protected]>
---
drivers/iio/proximity/irsd200.c | 1 -
1 file changed, 1 deletion(-)

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>

---
base-commit: 05b5bdf18a6ba2dd9db82b6296d4edd6465b6210
change-id: 20231128-descriptors-iio-67062aeb4637

Best regards,
--
Linus Walleij <[email protected]>


2023-11-29 14:20:57

by Waqar Hameed

[permalink] [raw]
Subject: Re: [PATCH] iio: proximity: irsd200: Drop unused include

On Tue, Nov 28, 2023 at 23:56 +0100 Linus Walleij <[email protected]> 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 <[email protected]>

Reviewed-by: Waqar Hameed <[email protected]>

2023-12-04 13:27:14

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: proximity: irsd200: Drop unused include

On Wed, 29 Nov 2023 10:31:26 +0100
Waqar Hameed <[email protected]> wrote:

> On Tue, Nov 28, 2023 at 23:56 +0100 Linus Walleij <[email protected]> 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 <[email protected]>
>
> Reviewed-by: Waqar Hameed <[email protected]>

Applied