linux/drivers/iio/common/cros_ec_sensors
Gwendal Grignou d60ac88a62 mfd / platform / iio: cros_ec: Register sensor through sensorhub
Remove the duplicated code in MFD, since MFD just registers cros-ec-sensorhub
if at least one sensor is present.

Change IIO cros-ec driver to get the pointer to the cros-ec-dev through
cros-ec-sensorhub.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-11-21 11:23:14 +01:00
..
Kconfig iio / platform: cros_ec: Add cros-ec-sensorhub driver 2019-11-21 11:23:14 +01:00
Makefile chrome platform changes for v5.3 2019-07-11 18:45:29 -07:00
cros_ec_lid_angle.c mfd / platform: cros_ec: Reorganize platform and mfd includes 2019-09-02 11:33:42 +01:00
cros_ec_sensors.c mfd / platform / iio: cros_ec: Register sensor through sensorhub 2019-11-21 11:23:14 +01:00
cros_ec_sensors_core.c mfd / platform / iio: cros_ec: Register sensor through sensorhub 2019-11-21 11:23:14 +01:00