]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: adc: ad7173: move opening brace to a separate line
authorGiorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
Mon, 23 Feb 2026 08:24:00 +0000 (12:24 +0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 23 Feb 2026 21:20:26 +0000 (21:20 +0000)
Place the opening brace of ad7173_calc_openwire_thrsh_raw() on its own
line to comply with the kernel coding style for function definitions.
Issue found by checkpatch.

Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7173.c

index d36612352b443fc5aa11af071e5a2a89fe86a689..f76a9e08f39e40b59c6b312886bb52187cd7c6f9 100644 (file)
@@ -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 =