[PATCH 5.4 35/53] iio: Fix error handling for PM