iio: adc: ad7768-1: reorganize driver headers
authorJonathan Santos <Jonathan.Santos@analog.com>
Thu, 8 May 2025 17:03:04 +0000 (14:03 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 May 2025 13:22:32 +0000 (14:22 +0100)
commit034c71a287d0e39c73d88015d8fcaa01072be440
tree01922129348b94e9ee12b83381bd0ece08a154e5
parent018f50909e66941916b5422ed7aee7475285b0c0
iio: adc: ad7768-1: reorganize driver headers

Remove kernel.h since it adds a lot of unnecessary dependencies.
Add specific headers to ensure all functions and macros used in the driver
are directly declared.

Suggested-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Jonathan Santos <Jonathan.Santos@analog.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/1f7677d31a0165cb30d7eb3b4d613e1337937f9a.1746662899.git.Jonathan.Santos@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7768-1.c