Re: [PATCH v3 0/2] HID: iio: warning clean up and prefer kernel coding style

From: Andy Shevchenko

Date: Mon Jul 06 2026 - 17:22:06 EST


On Tue, Jul 07, 2026 at 12:29:42AM +0530, Sanjay Chitroda via B4 Relay wrote:

> This series updates HID sensor IIO drivers to address checkpatch
> warnings, improves readability and compliance with kernel coding style.
>
> The changes are:
> - replacing explicit NULL comparisons with implicit pointer checks;
> - adjusting indentation and alignment;
> - reformatting multi-line function declarations for improved
> readability and consistency.
>
> While updating alignment and line wrapping, function parameters are
> grouped more logically and common callback signatures are formatted
> consistently across HID sensor IIO drivers.
>
> Testing:
> - Compiled with W=1 for each patch in the series

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko