diff mbox series

staging: iio: adc: ad7192: Align with parenthesis

Message ID 20200303183932.7051-1-nish.malpani25@gmail.com (mailing list archive)
State New, archived
Headers show
Series staging: iio: adc: ad7192: Align with parenthesis | expand

Commit Message

Nishant Malpani March 3, 2020, 6:39 p.m. UTC
This patch fixes the checkpatch.pl warning:

CHECK: Alignment should match open parenthesis
+static void ad7192_get_available_filter_freq(struct ad7192_state *st,
+                                                   int *freq)

Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
---
 drivers/staging/iio/adc/ad7192.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexandru Ardelean March 4, 2020, 6:27 a.m. UTC | #1
On Wed, 2020-03-04 at 00:09 +0530, Nishant Malpani wrote:
> [External]
> 
> This patch fixes the checkpatch.pl warning:
> 
> CHECK: Alignment should match open parenthesis
> +static void ad7192_get_available_filter_freq(struct ad7192_state *st,
> +                                                   int *freq)
> 

This patch needs to be updated a bit.
The driver has moved out of staging.
Path is now: ./drivers/iio/adc/ad7192.c

> Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
> ---
>  drivers/staging/iio/adc/ad7192.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/iio/adc/ad7192.c
> b/drivers/staging/iio/adc/ad7192.c
> index bf3e2a9cc07f..20fe7464da7f 100644
> --- a/drivers/staging/iio/adc/ad7192.c
> +++ b/drivers/staging/iio/adc/ad7192.c
> @@ -477,7 +477,7 @@ static ssize_t ad7192_set(struct device *dev,
>  }
>  
>  static void ad7192_get_available_filter_freq(struct ad7192_state *st,
> -						    int *freq)
> +					     int *freq)
>  {
>  	unsigned int fadc;
>
diff mbox series

Patch

diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c
index bf3e2a9cc07f..20fe7464da7f 100644
--- a/drivers/staging/iio/adc/ad7192.c
+++ b/drivers/staging/iio/adc/ad7192.c
@@ -477,7 +477,7 @@  static ssize_t ad7192_set(struct device *dev,
 }
 
 static void ad7192_get_available_filter_freq(struct ad7192_state *st,
-						    int *freq)
+					     int *freq)
 {
 	unsigned int fadc;