Re: [PATCH 3/3] staging:iio:meter: Aligns open parenthesis

From: Dan Carpenter
Date: Tue Mar 06 2018 - 08:54:05 EST


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.

> if (!st->trig) {
> ret = -ENOMEM;

regards,
dan carpenter