Commits
Leonard Crestez committed 90ee80a6f16
MLK-14301: Revert "MLK-11343-01 cpufreq: imx: replace clk_get & regulator_get will devm ones" Upstream rejected this patch because it is wrong: Attaching clk and regulator resources to the cpu device results in them never actually getting freed. This is relevant now that we rely on supporting EPROBE_DEFER because we must handle correctly returning from a partial probe. In particular this patch fixes imx6qp-sabresd not setting the PU regulator to bypass mode because the cpufreq driver fetched the regulator before gpc and leaked it. This is not a straight revert because other clks and regulators were added, we add code to free them too. Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>