lkml.org 
[lkml]   [2018]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] staging:iio:meter: Aligns open parenthesis
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

\
 
 \ /
  Last update: 2018-03-06 14:55    [W:2.172 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site