Re: [PATCH] IIO: accel: dmard09: fixed code styling issues
From: Paul Lemmermann
Date: Sat Apr 02 2022 - 16:02:20 EST
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@xxxxxxxxxxxxxxxx> wrote:
>
> > Cleaning up code.
> >
> > Signed-off-by: Paul Lemmermann <thepaulodoom@xxxxxxxxxxxxxxxx>
> 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 {
>