Re: Re: Re: [PATCH] iio: magnetometer: ak8974: Fix runtime PM imbalance on error
From: dinghao . liu
Date: Tue May 26 2020 - 06:06:21 EST
> What about just moving the pm_runtime_put() until the end
> of the initialization? Right before return 0;
> Then we can keep this nice goto exits as they are.
> Maybe move all these three:
Good idea! Thank you for your advice and I will fix this
in the next version of patch.