2019-09-13 20:56:46

by Rohit Sarkar

[permalink] [raw]
Subject: [PATCH] staging: iio: ADIS16240: Remove unused include

Bcc:
Subject: [PATCH] staging: iio: adis16240: remove unused include
Reply-To:

'#include<linux/gpio.h>' isn't being used anywhere. Remove it.

Signed-off-by: Rohit Sarkar <[email protected]>
---
drivers/staging/iio/accel/adis16240.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/iio/accel/adis16240.c b/drivers/staging/iio/accel/adis16240.c
index 82099db4bf0c..a480409090c0 100644
--- a/drivers/staging/iio/accel/adis16240.c
+++ b/drivers/staging/iio/accel/adis16240.c
@@ -7,7 +7,6 @@

#include <linux/interrupt.h>
#include <linux/irq.h>
-#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/kernel.h>
--
2.17.1


2019-09-15 10:05:00

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] staging: iio: ADIS16240: Remove unused include

On Sat, 14 Sep 2019 02:06:27 +0530
Rohit Sarkar <[email protected]> wrote:

> Bcc:
> Subject: [PATCH] staging: iio: adis16240: remove unused include
> Reply-To:
Something odd happened here with patch formatting. I fixed it up and
applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to play with it.

Thanks,

Jonathan

>
> '#include<linux/gpio.h>' isn't being used anywhere. Remove it.
>
> Signed-off-by: Rohit Sarkar <[email protected]>
> ---
> drivers/staging/iio/accel/adis16240.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/iio/accel/adis16240.c b/drivers/staging/iio/accel/adis16240.c
> index 82099db4bf0c..a480409090c0 100644
> --- a/drivers/staging/iio/accel/adis16240.c
> +++ b/drivers/staging/iio/accel/adis16240.c
> @@ -7,7 +7,6 @@
>
> #include <linux/interrupt.h>
> #include <linux/irq.h>
> -#include <linux/gpio.h>
> #include <linux/delay.h>
> #include <linux/device.h>
> #include <linux/kernel.h>

2019-09-15 19:45:40

by Rohit Sarkar

[permalink] [raw]
Subject: Re: [PATCH] staging: iio: ADIS16240: Remove unused include

On Sun, Sep 15, 2019 at 10:53:00AM +0100, Jonathan Cameron wrote:
> On Sat, 14 Sep 2019 02:06:27 +0530
> Rohit Sarkar <[email protected]> wrote:
>
> > Bcc:
> > Subject: [PATCH] staging: iio: adis16240: remove unused include
> > Reply-To:
> Something odd happened here with patch formatting. I fixed it up and
> applied to the togreg branch of iio.git and pushed out as testing
> for the autobuilders to play with it.
>
> Thanks,
>
> Jonathan
>

That's my bad, must have messed up while copying over the recipients
from another thread.

Thanks,
Rohit