On 15/04/2021 17.10, Sa, Nuno wrote:
+ pm_runtime_enable(dev); + pm_runtime_set_autosuspend_delay(dev, FXLS8962AF_AUTO_SUSPEND_DELAY_MS); + pm_runtime_use_autosuspend(dev);Maybe add devm_add_action_or_reset() here and after enabling the regulator and we can then ditch ' fxls8962af_core_remove ()'...
Thanks for the review :)I'm think not able to ditch the fxls8962af_core_remove() I still have the pm_runtime stuff or can they be removed via some devm_ functions?
/Sean