iio: adc: ad_sigma_delta: audit included headers
authorDavid Lechner <dlechner@baylibre.com>
Tue, 1 Jul 2025 21:37:54 +0000 (16:37 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Jul 2025 14:36:25 +0000 (15:36 +0100)
commit86d8d6b8b9a79ef9cdbd6de76f951a7282bb7883
tree40f10a04608d543bcb6695531593f52fe4e3f366
parente916934b591585140a59ac899ac356cd4a1f269f
iio: adc: ad_sigma_delta: audit included headers

Drop linux/iio/sysfs.h since it is unused and replace linux/kernel.h
with more explicit headers. There are a couple of other headers added
weren't covered by kernel.h, like linux/gpio/consumer.h that are added
since the module makes use of those APIs as well.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250701-iio-adc-ad7173-add-spi-offload-support-v3-6-42abb83e3dac@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad_sigma_delta.c