Re: [PATCH 03/11] iio: gyro: hid-sensor-gyro-3d: align parenthesis for readability
From: Andy Shevchenko
Date: Tue Jun 16 2026 - 06:57:12 EST
On Tue, Jun 16, 2026 at 03:56:08PM +0530, Sanjay Chitroda wrote:
> Adjust alignment of parentheses to improve readability and
> maintain consistency with kernel coding style
Respect English grammar and punctuation.
...
> /* Channel write_raw handler */
> static int gyro_3d_write_raw(struct iio_dev *indio_dev,
> - struct iio_chan_spec const *chan,
> - int val,
> - int val2,
> - long mask)
> + struct iio_chan_spec const *chan,
> + int val,
> + int val2,
> + long mask)
In cases like this have a chance to (re-)split logically.
static int gyro_3d_write_raw(struct iio_dev *indio_dev,
struct iio_chan_spec const *chan,
int val, int val2, long mask)
...
These comments for the entire series.
--
With Best Regards,
Andy Shevchenko