iio: cros_ec: add 'id' sysfs entry
authorGwendal Grignou <gwendal@chromium.org>
Fri, 26 Apr 2019 11:39:16 +0000 (13:39 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Apr 2019 13:11:59 +0000 (14:11 +0100)
commit8b7a6a35746292e140304107e60f9a980416abf7
tree4e6e7f30269c3248c3620b3e91da0169ac68015b
parentd2fc0156963cae8f1eec8e2dd645fbbf1e1c1c8e
iio: cros_ec: add 'id' sysfs entry

This new sysfs entry is used to interpret ring buffer information,
mainly by Android sensor HAL.
It expand to all sensors, the documentation about 'id' we can found
in Documentation/ABI/testing/sysfs-bus-iio-cros-ec.

Also fix typo in docs, I replace 'Septembre' by 'September'.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio-cros-ec
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c