Re: [PATCH v2 1/4] nvmem: rockchip-efuse: Change initcall to subsys

From: Kevin Hilman
Date: Thu Aug 18 2016 - 23:15:17 EST


Finlye Xiao <finley.xiao@xxxxxxxxxxxxxx> writes:

> From: Finley Xiao <finley.xiao@xxxxxxxxxxxxxx>
>
> We will register a cpufreq notifier for adjusting opp's voltage, and it
> need to fetch cpu's leakage from efuse in the notifier_call. so the efuse
> driver should probe before cpufreq driver.
>
> Signed-off-by: Finley Xiao <finley.xiao@xxxxxxxxxxxxxx>

Why can't this be handled with deferred probling? initcall ordering is
a can of worms.

Kevin