diff options
author | Arnaud Pouliquen <arnaud.pouliquen@st.com> | 2018-01-10 11:13:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-10 10:30:07 +0000 |
commit | b688c18d30060e8a840d8af72790339c72acdac4 (patch) | |
tree | e2b9cd9b33b3db05d5836413ff374c556c72be77 /drivers/iio/inkern.c | |
parent | 5b178943d64b85d78350ea9c86344c376d7bfe74 (diff) |
IIO: hw_consumer: add devm_iio_hw_consumer_alloc
Add devm_iio_hw_consumer_alloc function that calls iio_hw_consumer_free
when the device is unbound from the bus.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/iio/inkern.c')
0 files changed, 0 insertions, 0 deletions