* [PATCH] iio: addac: stx104: Replace bitops.h header inclusion with bits.h
@ 2023-03-18 18:55 William Breathitt Gray
2023-03-19 15:37 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: William Breathitt Gray @ 2023-03-18 18:55 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen
Cc: linux-iio, linux-kernel, William Breathitt Gray
The <linux/bitops.h> header is included in the stx104 driver so that we
can use the BIT() macro. This macro is actually defined in the
<linux/bits.h> header, so replace the <linux/bitops.h> header inclusion
with <linux/bits.h>.
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
---
drivers/iio/addac/stx104.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/addac/stx104.c b/drivers/iio/addac/stx104.c
index 48a91a95e597..e45b70aa5bb7 100644
--- a/drivers/iio/addac/stx104.c
+++ b/drivers/iio/addac/stx104.c
@@ -3,7 +3,7 @@
* IIO driver for the Apex Embedded Systems STX104
* Copyright (C) 2016 William Breathitt Gray
*/
-#include <linux/bitops.h>
+#include <linux/bits.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/gpio/driver.h>
base-commit: 87a1ff66a0e57d9022665d24793f31fc54de182d
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: addac: stx104: Replace bitops.h header inclusion with bits.h
2023-03-18 18:55 [PATCH] iio: addac: stx104: Replace bitops.h header inclusion with bits.h William Breathitt Gray
@ 2023-03-19 15:37 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2023-03-19 15:37 UTC (permalink / raw)
To: William Breathitt Gray; +Cc: Lars-Peter Clausen, linux-iio, linux-kernel
On Sat, 18 Mar 2023 14:55:03 -0400
William Breathitt Gray <william.gray@linaro.org> wrote:
> The <linux/bitops.h> header is included in the stx104 driver so that we
> can use the BIT() macro. This macro is actually defined in the
> <linux/bits.h> header, so replace the <linux/bitops.h> header inclusion
> with <linux/bits.h>.
>
> Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Applied to the togreg branch of iio.git and pushed out as testing
for all the normal reasons.
Thanks,
Jonathan
> ---
> drivers/iio/addac/stx104.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/addac/stx104.c b/drivers/iio/addac/stx104.c
> index 48a91a95e597..e45b70aa5bb7 100644
> --- a/drivers/iio/addac/stx104.c
> +++ b/drivers/iio/addac/stx104.c
> @@ -3,7 +3,7 @@
> * IIO driver for the Apex Embedded Systems STX104
> * Copyright (C) 2016 William Breathitt Gray
> */
> -#include <linux/bitops.h>
> +#include <linux/bits.h>
> #include <linux/device.h>
> #include <linux/errno.h>
> #include <linux/gpio/driver.h>
>
> base-commit: 87a1ff66a0e57d9022665d24793f31fc54de182d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-19 15:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-18 18:55 [PATCH] iio: addac: stx104: Replace bitops.h header inclusion with bits.h William Breathitt Gray
2023-03-19 15:37 ` Jonathan Cameron
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).