[PATCH v2] cpufreq: mt8173: move resources allocation into ->probe()

Viresh Kumar viresh.kumar at linaro.org
Sat Dec 5 18:24:46 PST 2015


On 05-12-15, 14:01, Pi-Cheng Chen wrote:
> Since the return value of ->init() of cpufreq driver is not propagated
> to the device driver model now, move resources allocation into
> ->probe() to handle -EPROBE_DEFER properly.
> 
> Signed-off-by: Pi-Cheng Chen <pi-cheng.chen at linaro.org>
> ---
> v1->v2:
> - fix error handling path in ->probe()

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh



More information about the Linux-mediatek mailing list