Hi

On 03/06, Dan Carpenter wrote:
> On Tue, Mar 06, 2018 at 09:26:07AM -0300, Rodrigo Siqueira wrote:
> > @@ -63,7 +63,7 @@ int ade7758_probe_trigger(struct iio_dev *indio_dev)
> >     int ret;
> >  
> >     st->trig = iio_trigger_alloc("%s-dev%d",
> > -                                   spi_get_device_id(st->us)->name,
> > +                                spi_get_device_id(st->us)->name,
> >                                     indio_dev->id);
>                                         ^^^^^^^^^^^^^
> The "indio_dev->id" needs to be aligned as well.

I will fix it and send a v2.

Thanks for the review!
 
> >     if (!st->trig) {
> >             ret = -ENOMEM;
> 
> regards,
> dan carpenter
> 

Reply via email to