]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: magnetometer: ak8975: update headers per IWYU principle
authorJoshua Crofts <joshua.crofts1@gmail.com>
Tue, 5 May 2026 11:45:58 +0000 (13:45 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2026 09:59:36 +0000 (10:59 +0100)
commit9d59def370123edfb32b96b590dcba78a5bd6bf1
tree3c46b79e9a50df8d874d2591e91317e4c754fe41
parentbde5858a2773dcc588b1b9a61943a645d5f1115f
iio: magnetometer: ak8975: update headers per IWYU principle

Remove kernel.h proxy header and unused headers (slab.h, iio/sysfs.h,
iio/trigger.h). Add missing headers to ensure atomicity (array_size.h,
dev_printk.h, asm/byteorder.h, irqreturn.h, minmax.h, property.h,
types.h, wait.h).

Audited using the include-what-you-use tool.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
Reviewed-by: Maxwell Doose <m32285159@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c