Re: [PATCH v3 4/9] iio: gyro: hid-sensor-gyro-3d: cleanup codestyle warning
From: Andy Shevchenko
Date: Sun May 10 2026 - 02:38:39 EST
On Sat, May 09, 2026 at 03:40:35PM +0530, Sanjay Chitroda wrote:
> Reported by checkpatch:
> FILE: drivers/iio/gyro/hid-sensor-gyro-3d.c
>
> WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
> + unsigned usage_id,
Use the type that is in the respective prototypes.
Also note, there was a patch doing exactly that. Find it in the mailing lists
and ask author if you can take it or what the status of affairs is.
--
With Best Regards,
Andy Shevchenko