Re: [PATCH] iio:potentiostat:lmp91000: solve codestyle WARNINGs and CHECKs

2019-02-09 Thread Lucas Oshiro
Thanks! I'll send those changes in my next patchset. On 02/02/2019 08:00, Jonathan Cameron wrote: On Fri, 1 Feb 2019 12:29:11 -0200 LSO wrote: Thanks for the review! On 29/01/2019 20:48, Joe Perches wrote: On Tue, 2019-01-29 at 16:36 -0200, Lucas Oshiro wrote: Solve most of the checkpatch.

Re: [PATCH] iio:potentiostat:lmp91000: solve codestyle WARNINGs and CHECKs

2019-02-02 Thread Jonathan Cameron
On Fri, 1 Feb 2019 12:29:11 -0200 LSO wrote: > Thanks for the review! > > On 29/01/2019 20:48, Joe Perches wrote: > > On Tue, 2019-01-29 at 16:36 -0200, Lucas Oshiro wrote: > >> Solve most of the checkpatch.pl WARNINGs and CHECKs on lmp9100.c. They > >> are the following: > >> > >> lmp91000.c:

Re: [PATCH] iio:potentiostat:lmp91000: solve codestyle WARNINGs and CHECKs

2019-02-01 Thread LSO
Thanks for the review! On 29/01/2019 20:48, Joe Perches wrote: On Tue, 2019-01-29 at 16:36 -0200, Lucas Oshiro wrote: Solve most of the checkpatch.pl WARNINGs and CHECKs on lmp9100.c. They are the following: lmp91000.c:116: CHECK: Unnecessary parentheses around 'state != channel' lmp91000.c:11

Re: [PATCH] iio:potentiostat:lmp91000: solve codestyle WARNINGs and CHECKs

2019-01-29 Thread Joe Perches
On Tue, 2019-01-29 at 16:36 -0200, Lucas Oshiro wrote: > Solve most of the checkpatch.pl WARNINGs and CHECKs on lmp9100.c. They > are the following: > > lmp91000.c:116: CHECK: Unnecessary parentheses around 'state != channel' > lmp91000.c:116: CHECK: Unnecessary parentheses around 'channel == > L

[PATCH] iio:potentiostat:lmp91000: solve codestyle WARNINGs and CHECKs

2019-01-29 Thread Lucas Oshiro
Solve most of the checkpatch.pl WARNINGs and CHECKs on lmp9100.c. They are the following: lmp91000.c:116: CHECK: Unnecessary parentheses around 'state != channel' lmp91000.c:116: CHECK: Unnecessary parentheses around 'channel == LMP91000_REG_MODECN_TEMP' lmp91000.c:214: CHECK: braces {} should be