All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging:iio:ad7152: Align arguments to match open parenthesis
@ 2018-03-08 23:19 Tom Lebreux
  2018-03-10 16:17 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Lebreux @ 2018-03-08 23:19 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: Lars-Peter Clausen, linux-iio, Tom Lebreux

This patch fixes checkpatch.pl CHECK for alignment.

Signed-off-by: Tom Lebreux <tomlebreux@cock.li>
---
 drivers/staging/iio/cdc/ad7152.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/iio/cdc/ad7152.c b/drivers/staging/iio/cdc/ad7152.c
index 19dc896603a1..25f51db05d2d 100644
--- a/drivers/staging/iio/cdc/ad7152.c
+++ b/drivers/staging/iio/cdc/ad7152.c
@@ -426,8 +426,8 @@ static int ad7152_read_raw(struct iio_dev *indio_dev,
 }
 
 static int ad7152_write_raw_get_fmt(struct iio_dev *indio_dev,
-			       struct iio_chan_spec const *chan,
-			       long mask)
+				    struct iio_chan_spec const *chan,
+				    long mask)
 {
 	switch (mask) {
 	case IIO_CHAN_INFO_SCALE:
@@ -493,7 +493,7 @@ static const struct iio_chan_spec ad7152_channels[] = {
  */
 
 static int ad7152_probe(struct i2c_client *client,
-		const struct i2c_device_id *id)
+			const struct i2c_device_id *id)
 {
 	int ret = 0;
 	struct ad7152_chip_info *chip;
-- 
2.16.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging:iio:ad7152: Align arguments to match open parenthesis
  2018-03-08 23:19 [PATCH] staging:iio:ad7152: Align arguments to match open parenthesis Tom Lebreux
@ 2018-03-10 16:17 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2018-03-10 16:17 UTC (permalink / raw)
  To: Tom Lebreux; +Cc: Lars-Peter Clausen, linux-iio

On Thu,  8 Mar 2018 18:19:04 -0500
Tom Lebreux <tomlebreux@cock.li> wrote:

> This patch fixes checkpatch.pl CHECK for alignment.
> 
> Signed-off-by: Tom Lebreux <tomlebreux@cock.li>
Applied to the togreg branch of iio.git and pushed out as
testing for the autobuilders to play with it.

Thanks,

Jonathan

> ---
>  drivers/staging/iio/cdc/ad7152.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/iio/cdc/ad7152.c b/drivers/staging/iio/cdc/ad7152.c
> index 19dc896603a1..25f51db05d2d 100644
> --- a/drivers/staging/iio/cdc/ad7152.c
> +++ b/drivers/staging/iio/cdc/ad7152.c
> @@ -426,8 +426,8 @@ static int ad7152_read_raw(struct iio_dev *indio_dev,
>  }
>  
>  static int ad7152_write_raw_get_fmt(struct iio_dev *indio_dev,
> -			       struct iio_chan_spec const *chan,
> -			       long mask)
> +				    struct iio_chan_spec const *chan,
> +				    long mask)
>  {
>  	switch (mask) {
>  	case IIO_CHAN_INFO_SCALE:
> @@ -493,7 +493,7 @@ static const struct iio_chan_spec ad7152_channels[] = {
>   */
>  
>  static int ad7152_probe(struct i2c_client *client,
> -		const struct i2c_device_id *id)
> +			const struct i2c_device_id *id)
>  {
>  	int ret = 0;
>  	struct ad7152_chip_info *chip;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-10 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08 23:19 [PATCH] staging:iio:ad7152: Align arguments to match open parenthesis Tom Lebreux
2018-03-10 16:17 ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.