diff mbox

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

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

Commit Message

Tom Lebreux March 8, 2018, 11:19 p.m. UTC
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(-)

Comments

Jonathan Cameron March 10, 2018, 4:17 p.m. UTC | #1
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;

--
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/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;