Re: [PATCH v2] iio: accel: stk8ba50: Update includes to match IWYU

From: Andy Shevchenko

Date: Mon Jun 15 2026 - 05:57:41 EST


On Mon, Jun 15, 2026 at 05:21:16PM +0800, Miao Li wrote:
> From: Miao Li <limiao@xxxxxxxxxx>
>
> Update the list of included headers in stk8ba50.c using
> Include-What-You-Use (IWYU) tool, mainly to remove kernel.h
> and add missing headers such as array_size.h, bits.h,
> dev_printk.h, etc.

...

> Changes in v2:
> - Drop linux/iio/types.h as it is already included by linux/iio/iio.h
> - Link to v1:
> https://lore.kernel.org/all/20260603015033.187735-1-limiao870622@xxxxxxx/

Put the changelog in the corresponding place...

> Signed-off-by: Miao Li <limiao@xxxxxxxxxx>
> ---

...id est somewhere here. (Basically after '---' cutter line.)

> drivers/iio/accel/stk8ba50.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)

Code wise looks good to me, feel free to add
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
after addressing the above issue in the commit message.

--
With Best Regards,
Andy Shevchenko