From: Jonathan Cameron <jic23@kernel.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Ibrahim Tilki <Ibrahim.Tilki@analog.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
Lars-Peter Clausen <lars@metafoo.de>
Subject: Re: [PATCH v1 1/1] iio: adc: max11410: Use asm intead of asm-generic
Date: Sun, 8 Jan 2023 12:13:45 +0000 [thread overview]
Message-ID: <20230108121345.7fb3b6f2@jic23-huawei> (raw)
In-Reply-To: <20230103144903.39905-1-andriy.shevchenko@linux.intel.com>
On Tue, 3 Jan 2023 16:49:03 +0200
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> There is no point to specify asm-generic for the unaligned.h.
> Drop the 'generic' suffix and move the inclusion to be after
> the non-IIO linux/* ones.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Applied.
Thanks,
Jonathan
> ---
> drivers/iio/adc/max11410.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/max11410.c b/drivers/iio/adc/max11410.c
> index fdc9f03135b5..b74b689ee7de 100644
> --- a/drivers/iio/adc/max11410.c
> +++ b/drivers/iio/adc/max11410.c
> @@ -4,7 +4,6 @@
> *
> * Copyright 2022 Analog Devices Inc.
> */
> -#include <asm-generic/unaligned.h>
> #include <linux/bitfield.h>
> #include <linux/delay.h>
> #include <linux/device.h>
> @@ -16,6 +15,8 @@
> #include <linux/regulator/consumer.h>
> #include <linux/spi/spi.h>
>
> +#include <asm/unaligned.h>
> +
> #include <linux/iio/buffer.h>
> #include <linux/iio/sysfs.h>
> #include <linux/iio/trigger.h>
prev parent reply other threads:[~2023-01-08 12:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-03 14:49 [PATCH v1 1/1] iio: adc: max11410: Use asm intead of asm-generic Andy Shevchenko
2023-01-08 12:13 ` Jonathan Cameron [this message]
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=20230108121345.7fb3b6f2@jic23-huawei \
--to=jic23@kernel.org \
--cc=Ibrahim.Tilki@analog.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@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