diff mbox

staging:iio:ad7150: Align arguments to match open parenthesis

Message ID 20180308122244.28537-1-tomlebreux@cock.li (mailing list archive)
State New, archived
Headers show

Commit Message

Tom Lebreux March 8, 2018, 12:22 p.m. UTC
This fixes the following checkpatch.pl CHECK: Alignment should match
open parenthesis
---
 drivers/staging/iio/cdc/ad7150.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--
2.16.2

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Tom Lebreux March 8, 2018, 11:23 p.m. UTC | #1
Hi,

don't use this patch. I realized I forgot the signoff so I will be 
sending a new patch with my signoff.

Thanks,

Tom Lebreux

On 03/08/2018 07:22 AM, Tom Lebreux wrote:
> This fixes the following checkpatch.pl CHECK: Alignment should match
> open parenthesis
> ---
>  drivers/staging/iio/cdc/ad7150.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c
> index 2fe916c48848..947c088407a1 100644
> --- a/drivers/staging/iio/cdc/ad7150.c
> +++ b/drivers/staging/iio/cdc/ad7150.c
> @@ -124,8 +124,9 @@ static int ad7150_read_raw(struct iio_dev *indio_dev,
>  }
> 
>  static int ad7150_read_event_config(struct iio_dev *indio_dev,
> -	const struct iio_chan_spec *chan, enum iio_event_type type,
> -	enum iio_event_direction dir)
> +				    const struct iio_chan_spec *chan,
> +				    enum iio_event_type type,
> +				    enum iio_event_direction dir)
>  {
>  	int ret;
>  	u8 threshtype;
> --
> 2.16.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c
index 2fe916c48848..947c088407a1 100644
--- a/drivers/staging/iio/cdc/ad7150.c
+++ b/drivers/staging/iio/cdc/ad7150.c
@@ -124,8 +124,9 @@  static int ad7150_read_raw(struct iio_dev *indio_dev,
 }

 static int ad7150_read_event_config(struct iio_dev *indio_dev,
-	const struct iio_chan_spec *chan, enum iio_event_type type,
-	enum iio_event_direction dir)
+				    const struct iio_chan_spec *chan,
+				    enum iio_event_type type,
+				    enum iio_event_direction dir)
 {
 	int ret;
 	u8 threshtype;