hwmon: (iio_hwmon) Fix missing iio_channel_release_all call if devm_kzalloc fail
authorAxel Lin <axel.lin@ingics.com>
Tue, 23 Apr 2013 17:06:43 +0000 (17:06 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 12 May 2013 05:55:07 +0000 (22:55 -0700)
commit4510d198f994bf49f88aa05d55e7a3584cd430a8
treeaab806f5d829294f1d3a21b30374b2e0be138375
parentf722406faae2d073cc1d01063d1123c35425939e
hwmon: (iio_hwmon) Fix missing iio_channel_release_all call if devm_kzalloc fail

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/iio_hwmon.c