[PATCH 1/3] iio: adc: ad7173: cleanup codestyle error
From: Sanjay Chitroda
Date: Mon Apr 13 2026 - 09:42:39 EST
From: Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx>
Reported by checkpatch:
FILE: drivers/iio/adc/ad7173.c
ERROR: open brace '{' function definitions go on the next line
Signed-off-by: Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx>
---
drivers/iio/adc/ad7173.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c
index d36612352b44..f76a9e08f39e 100644
--- a/drivers/iio/adc/ad7173.c
+++ b/drivers/iio/adc/ad7173.c
@@ -1763,7 +1763,8 @@ static int ad7173_validate_openwire_ain_inputs(struct ad7173_state *st,
static unsigned int ad7173_calc_openwire_thrsh_raw(struct ad7173_state *st,
struct iio_chan_spec *chan,
struct ad7173_channel *chan_st_priv,
- unsigned int thrsh_mv) {
+ unsigned int thrsh_mv)
+{
unsigned int thrsh_raw;
thrsh_raw =
--
2.34.1