Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

counter: stm32-timer-cnt: remove iio headers

The stm32-timer-cnt driver doesn't use the iio interface. The iio headers
aren't relevant and can be removed as reported by William in [1].
With this change, mod_devicetable.h needs to be added to define the
'of_device_id' struct.

[1] https://lkml.org/lkml/2020/2/10/1516

Reported-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Fabrice Gasnier and committed by
Jonathan Cameron
15e8573d c5b84255

+1 -2
+1 -2
drivers/counter/stm32-timer-cnt.c
··· 8 8 * 9 9 */ 10 10 #include <linux/counter.h> 11 - #include <linux/iio/iio.h> 12 - #include <linux/iio/types.h> 13 11 #include <linux/mfd/stm32-timers.h> 12 + #include <linux/mod_devicetable.h> 14 13 #include <linux/module.h> 15 14 #include <linux/pinctrl/consumer.h> 16 15 #include <linux/platform_device.h>