linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org
Cc: Nuno Sa <Nuno.Sa@analog.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Michael Hennerich <Michael.Hennerich@analog.com>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: Re: [PATCH 7/7] staging:iio:resolver:ad2s1210: Cleanup includes
Date: Fri, 11 Jun 2021 17:09:55 +0100	[thread overview]
Message-ID: <20210611170955.7c9a8a26@jic23-huawei> (raw)
In-Reply-To: <20210611152614.109361-8-jic23@kernel.org>

On Fri, 11 Jun 2021 16:26:14 +0100
Jonathan Cameron <jic23@kernel.org> wrote:

> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> Based on consideration of the output of the include-what-you-use tool.
> Drop unused includes and add some that should be there.
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
>  drivers/staging/iio/resolver/ad2s1210.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/iio/resolver/ad2s1210.c b/drivers/staging/iio/resolver/ad2s1210.c
> index 74adb82f37c3..99dec73144ba 100644
> --- a/drivers/staging/iio/resolver/ad2s1210.c
> +++ b/drivers/staging/iio/resolver/ad2s1210.c
> @@ -4,15 +4,16 @@
>   *
>   * Copyright (c) 2010-2010 Analog Devices Inc.
>   */
> +#include <linux/kernel.h>
>  #include <linux/types.h>
>  #include <linux/mutex.h>
>  #include <linux/device.h>
>  #include <linux/spi/spi.h>
> -#include <linux/slab.h>
>  #include <linux/sysfs.h>
> -#include <linux/delay.h>

Let's pretend I didn't remove this one by accident as it is needed.
I don't want to resend the whole set for that however so will 
leave it for now.

>  #include <linux/gpio/consumer.h>
>  #include <linux/module.h>
> +#include <linux/mod_devicetable.h>
> +#include <linux/of.h>
>  
>  #include <linux/iio/iio.h>
>  #include <linux/iio/sysfs.h>


  reply	other threads:[~2021-06-11 16:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11 15:26 [PATCH 0/7] staging:iio: Header cleanup Jonathan Cameron
2021-06-11 15:26 ` [PATCH 1/7] staging:iio:adc: Cleanup includes Jonathan Cameron
2021-06-11 15:26 ` [PATCH 2/7] staging:iio:addac:adt7316: " Jonathan Cameron
2021-06-11 17:40   ` Andy Shevchenko
2021-06-11 15:26 ` [PATCH 3/7] staging:iio:cdc:ad7746: " Jonathan Cameron
2021-06-11 15:26 ` [PATCH 4/7] staging:iio:frequency: " Jonathan Cameron
2021-06-11 15:26 ` [PATCH 5/7] staging:iio:impedance-analyzer: " Jonathan Cameron
2021-06-11 15:26 ` [PATCH 6/7] staging:iio:meter:ade7854: " Jonathan Cameron
2021-06-11 15:26 ` [PATCH 7/7] staging:iio:resolver:ad2s1210: " Jonathan Cameron
2021-06-11 16:09   ` Jonathan Cameron [this message]
2021-06-11 17:45 ` [PATCH 0/7] staging:iio: Header cleanup Andy Shevchenko
2021-06-11 18:14   ` Jonathan Cameron
2021-06-11 18:36     ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210611170955.7c9a8a26@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=Nuno.Sa@analog.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).