Skip to contentSkip to conversation

staging: iio: adc: ad7192: Align with parenthesis

PATCH In review Nishant Malpani 2 participants 2 messages Mar 3, 2020 – Mar 4, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: iio: adc: ad7192: Align with parenthesis

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)

---
 drivers/staging/iio/adc/ad7192.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/adc/ad7192.c +1 -1
index bf3e2a9cc07f..20fe7464da7f 100644
@@ -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;
 
Signature · 1 line
2.20.1
#1 lore raw

Review

Quoted 8 lines · Nishant Malpani

[External]

This patch fixes the checkpatch.pl warning:

CHECK: Alignment should match open parenthesis

(quoted diff) +2 -0
+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

Quoted 19 lines
---
 drivers/staging/iio/adc/ad7192.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/adc/ad7192.c +1 -1
index bf3e2a9cc07f..20fe7464da7f 100644
@@ -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;