]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ntc_thermistor) Drop unused headers.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 11 Jun 2021 14:22:57 +0000 (15:22 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 17 Jun 2021 11:21:47 +0000 (04:21 -0700)
commit7220a856aea6a4d9eb01c66a05effadadc9b4fde
treeb9f1fa6aa51c111292532f74996b0fb011b1b26c
parent7415c8116251dfc5199c31594e5921d516ec6eba
hwmon: (ntc_thermistor) Drop unused headers.

The IIO usage in this driver is purely consumer so it should only
be including linux/iio/consumer.h  Whilst here drop pm_runtime.h
as there is no runtime power management in the driver.

Found using include-what-you-use and manual inspection of the
suggestions.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210611142257.103094-1-jic23@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c