summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorGuenter Roeck2019-03-13 12:40:32 +0100
committerJonathan Cameron2019-04-04 21:19:58 +0200
commitb921d928a31c78b083a34140204f2ad183bcc083 (patch)
tree82418c437add0628a07cc602ab00137d305744c4 /drivers/iio/accel
parentiio: pressure: bmp280: BMP280 calibration to entropy (diff)
downloadkernel-qcow2-linux-b921d928a31c78b083a34140204f2ad183bcc083.tar.gz
kernel-qcow2-linux-b921d928a31c78b083a34140204f2ad183bcc083.tar.xz
kernel-qcow2-linux-b921d928a31c78b083a34140204f2ad183bcc083.zip
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>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r--drivers/iio/accel/cros_ec_accel_legacy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/cros_ec_accel_legacy.c b/drivers/iio/accel/cros_ec_accel_legacy.c
index 021f9f5cd3bb..3be10b121a28 100644
--- a/drivers/iio/accel/cros_ec_accel_legacy.c
+++ b/drivers/iio/accel/cros_ec_accel_legacy.c
@@ -29,7 +29,6 @@
#include <linux/mfd/cros_ec_commands.h>
#include <linux/module.h>
#include <linux/slab.h>
-#include <linux/sysfs.h>
#include <linux/platform_device.h>
#define DRV_NAME "cros-ec-accel-legacy"