commit | 754434c445dafe79d55304a698c231ecbcc046d7 | [log] [tgz] |
---|---|---|
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | Fri Mar 24 18:44:03 2017 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Mar 25 15:08:29 2017 +0000 |
tree | 5dfc4e120f326e5a4b5d8297e3bad76218245067 | |
parent | 48ba7c3c0b37363d9ddca3354ca503ad721e14dc [diff] |
iio: cros_ec_sensors: Use devm to setup the triggered buffer. Use resourced managed function devm_iio_triggered_buffer_setup to make error path simpler and be able to get rid of the remove function. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>