Ensure that resources allocated by iio_channel_get_all_cb() are released on driver unbind. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Change-Id: I7479c987ad014fd98173ba0179ec07450ed9a182 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/265130 Reviewed-by: CITOOLS <MDG-smet-aci-reviews@list.st.com> Reviewed-by: CIBUILD <MDG-smet-aci-builds@list.st.com> Reviewed-by: Arnaud POULIQUEN <arnaud.pouliquen@st.com>