diff mbox series

iio: proximity: irsd200: Drop unused include

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

Commit Message

Linus Walleij Nov. 28, 2023, 10:56 p.m. UTC
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,

Comments

Waqar Hameed Nov. 29, 2023, 9:31 a.m. UTC | #1
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>
Jonathan Cameron Dec. 4, 2023, 1:24 p.m. UTC | #2
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 mbox series

Patch

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>