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

From: Andy Shevchenko

Date: Thu Jun 04 2026 - 05:10:13 EST


On Thu, Jun 04, 2026 at 03:00:53PM +0800, Miao Li wrote:

> Update the list of included headers in stk8312.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.

> Meanwhile, sort these headers in alphabetical order.

Usually we do sort in a separate change, but here it's just about a single
unordered item, so I believe it's completely fine to combine (in _this_ case).

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

--
With Best Regards,
Andy Shevchenko