lkml.org 
[lkml]   [2019]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH v3 2/4] iio: adc: ad7923: Fix checkpatch warning
On Tue, 17 Dec 2019 11:30:09 +0000
"Ardelean, Alexandru" <alexandru.Ardelean@analog.com> wrote:

> On Tue, 2019-12-17 at 08:11 -0300, Daniel Junho wrote:
> > Fix checkpatch warning:
> > WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
> > +static int ad7923_scan_direct(struct ad7923_state *st, unsigned ch)
> >
>
> Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>

Applied,

Thanks,

Jonathan

>
> > Signed-off-by: Daniel Junho <djunho@gmail.com>
> > ---
> > drivers/iio/adc/ad7923.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/adc/ad7923.c b/drivers/iio/adc/ad7923.c
> > index 969c06b7d2b7..e535cec9fc02 100644
> > --- a/drivers/iio/adc/ad7923.c
> > +++ b/drivers/iio/adc/ad7923.c
> > @@ -184,7 +184,7 @@ static irqreturn_t ad7923_trigger_handler(int irq,
> > void *p)
> > return IRQ_HANDLED;
> > }
> >
> > -static int ad7923_scan_direct(struct ad7923_state *st, unsigned ch)
> > +static int ad7923_scan_direct(struct ad7923_state *st, unsigned int ch)
> > {
> > int ret, cmd;
> >

\
 
 \ /
  Last update: 2019-12-23 16:35    [W:0.040 / U:2.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site