linux/drivers/iio/common/st_sensors
Jonathan Cameron 9c6cd755b5 iio: st-sensors: Remove some unused includes and add some that should be there
The st-sensors drivers have changed in structure over time, and includes
have not always kept up with this.  Let's bring them back to nearer
the ideal.

Identified with the  include-what-you-use tool and careful checking of
its suggestions.

Note I haven't been particularly aggressive here, so this is just the
cases where the include obviously isn't needed rather than the more
subtle corners.

Note I took the opportunity to add mod_devicetable.h as I generally
prefer to see that when acpi or of match tables are present.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Denis Ciocca <denis.ciocca@st.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210608175149.4019289-1-jic23@kernel.org
2021-07-24 15:59:00 +01:00
..
Kconfig iio: st_sensors: Fix build error 2019-08-25 18:57:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
st_sensors_buffer.c iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_core.c iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_core.h iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_i2c.c iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_spi.c iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_trigger.c iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00