* [PATCH] IIO: accel: dmard09: fixed code styling issues
@ 2022-03-28 21:48 Paul Lemmermann
2022-04-02 16:28 ` Jonathan Cameron
0 siblings, 1 reply; 4+ messages in thread
From: Paul Lemmermann @ 2022-03-28 21:48 UTC (permalink / raw)
To: jic23; +Cc: linux-iio, linux-kernel
Cleaning up code.
Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
---
drivers/iio/accel/dmard09.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c
index 53ab6078c..cb0246ca7 100644
--- a/drivers/iio/accel/dmard09.c
+++ b/drivers/iio/accel/dmard09.c
@@ -24,7 +24,7 @@
#define DMARD09_AXIS_Y 1
#define DMARD09_AXIS_Z 2
#define DMARD09_AXIS_X_OFFSET ((DMARD09_AXIS_X + 1) * 2)
-#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1 )* 2)
+#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1) * 2)
#define DMARD09_AXIS_Z_OFFSET ((DMARD09_AXIS_Z + 1) * 2)
struct dmard09_data {
--
2.35.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] IIO: accel: dmard09: fixed code styling issues
2022-03-28 21:48 [PATCH] IIO: accel: dmard09: fixed code styling issues Paul Lemmermann
@ 2022-04-02 16:28 ` Jonathan Cameron
2022-04-02 20:02 ` Paul Lemmermann
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2022-04-02 16:28 UTC (permalink / raw)
To: Paul Lemmermann; +Cc: linux-iio, linux-kernel
On Mon, 28 Mar 2022 16:48:16 -0500
Paul Lemmermann <thepaulodoom@thepaulodoom.com> wrote:
> Cleaning up code.
>
> Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
Applied to the togreg branch of iio.git and pushed out as testing
for 0-day to see if it can find anything we did wrong.
BTW. You seem to have sent two identical copies of this patch.
I randomly decided to apply this second one.
Thanks,
Jonathan
> ---
> drivers/iio/accel/dmard09.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c
> index 53ab6078c..cb0246ca7 100644
> --- a/drivers/iio/accel/dmard09.c
> +++ b/drivers/iio/accel/dmard09.c
> @@ -24,7 +24,7 @@
> #define DMARD09_AXIS_Y 1
> #define DMARD09_AXIS_Z 2
> #define DMARD09_AXIS_X_OFFSET ((DMARD09_AXIS_X + 1) * 2)
> -#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1 )* 2)
> +#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1) * 2)
> #define DMARD09_AXIS_Z_OFFSET ((DMARD09_AXIS_Z + 1) * 2)
>
> struct dmard09_data {
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] IIO: accel: dmard09: fixed code styling issues
2022-04-02 16:28 ` Jonathan Cameron
@ 2022-04-02 20:02 ` Paul Lemmermann
0 siblings, 0 replies; 4+ messages in thread
From: Paul Lemmermann @ 2022-04-02 20:02 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio, linux-kernel
On Sat, Apr 02, 2022 at 05:28:14PM +0100, Jonathan Cameron wrote:
> On Mon, 28 Mar 2022 16:48:16 -0500
> Paul Lemmermann <thepaulodoom@thepaulodoom.com> wrote:
>
> > Cleaning up code.
> >
> > Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
> Applied to the togreg branch of iio.git and pushed out as testing
> for 0-day to see if it can find anything we did wrong.
>
> BTW. You seem to have sent two identical copies of this patch.
> I randomly decided to apply this second one.
Yes, I accidentally sent two identical patches. Sorry!
Thank you so much for applying my patch,
Paul
>
> Thanks,
>
> Jonathan
>
> > ---
> > drivers/iio/accel/dmard09.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c
> > index 53ab6078c..cb0246ca7 100644
> > --- a/drivers/iio/accel/dmard09.c
> > +++ b/drivers/iio/accel/dmard09.c
> > @@ -24,7 +24,7 @@
> > #define DMARD09_AXIS_Y 1
> > #define DMARD09_AXIS_Z 2
> > #define DMARD09_AXIS_X_OFFSET ((DMARD09_AXIS_X + 1) * 2)
> > -#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1 )* 2)
> > +#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1) * 2)
> > #define DMARD09_AXIS_Z_OFFSET ((DMARD09_AXIS_Z + 1) * 2)
> >
> > struct dmard09_data {
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] IIO: accel: dmard09: fixed code styling issues
@ 2022-03-28 21:28 Paul Lemmermann
0 siblings, 0 replies; 4+ messages in thread
From: Paul Lemmermann @ 2022-03-28 21:28 UTC (permalink / raw)
To: jic23; +Cc: linux-iio, linux-kernel
Cleaning up code.
Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
---
drivers/iio/accel/dmard09.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c
index 53ab6078c..cb0246ca7 100644
--- a/drivers/iio/accel/dmard09.c
+++ b/drivers/iio/accel/dmard09.c
@@ -24,7 +24,7 @@
#define DMARD09_AXIS_Y 1
#define DMARD09_AXIS_Z 2
#define DMARD09_AXIS_X_OFFSET ((DMARD09_AXIS_X + 1) * 2)
-#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1 )* 2)
+#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1) * 2)
#define DMARD09_AXIS_Z_OFFSET ((DMARD09_AXIS_Z + 1) * 2)
struct dmard09_data {
--
2.35.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-02 20:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 21:48 [PATCH] IIO: accel: dmard09: fixed code styling issues Paul Lemmermann
2022-04-02 16:28 ` Jonathan Cameron
2022-04-02 20:02 ` Paul Lemmermann
-- strict thread matches above, loose matches on Subject: below --
2022-03-28 21:28 Paul Lemmermann
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).