OSDN Git Service

iio: cros_ec: Drop unnecessary include files
authorGuenter Roeck <groeck@chromium.org>
Wed, 13 Mar 2019 11:40:32 +0000 (12:40 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:58 +0000 (20:19 +0100)
commitb921d928a31c78b083a34140204f2ad183bcc083
tree82418c437add0628a07cc602ab00137d305744c4
parent6282b5c620183f4787f788da2e642c7c61f9b557
iio: cros_ec: Drop unnecessary include files

The cros_ec sensors drivers do not call any sysfs functions
or use any sysfs defines, and thus do not need to include
linux/sysfs.h. Also, some cros_ec drivers include linux/delay.h
and is not used.

Signed-off-by: Guenter Roeck <groeck@chromium.org>
[remove linux/delay.h]
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/cros_ec_accel_legacy.c
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
drivers/iio/light/cros_ec_light_prox.c
drivers/iio/pressure/cros_ec_baro.c