b74933661c
[ Upstream commit bc84cff2c92ae5ccb2c37da73756e7174b1b430f ]
In some error handling paths, a call to 'iio_channel_get()' is not balanced
by a corresponding call to 'iio_channel_release()'.
This can be achieved easily by using the devm_ variant of
'iio_channel_get()'.
This has the extra benefit to simplify the remove function.
Fixes:
|
||
---|---|---|
.. | ||
devres.c | ||
extcon-adc-jack.c | ||
extcon-arizona.c | ||
extcon-axp288.c | ||
extcon-gpio.c | ||
extcon-intel-cht-wc.c | ||
extcon-intel-int3496.c | ||
extcon-max3355.c | ||
extcon-max8997.c | ||
extcon-max14577.c | ||
extcon-max77693.c | ||
extcon-max77843.c | ||
extcon-palmas.c | ||
extcon-qcom-spmi-misc.c | ||
extcon-rt8973a.c | ||
extcon-rt8973a.h | ||
extcon-sm5502.c | ||
extcon-sm5502.h | ||
extcon-usb-gpio.c | ||
extcon-usbc-cros-ec.c | ||
extcon.c | ||
extcon.h | ||
Kconfig | ||
Makefile |