Re: [PATCH V2 4/4] PM / OPP: Don't create debugfs "supply-0" directory unnecessarily

From: Stephen Boyd
Date: Tue May 23 2017 - 17:09:57 EST


On 05/23, Viresh Kumar wrote:
> We create "supply-0" debugfs directory even if the device doesn't do
> voltage scaling. That looks confusing, as if the regulator is found but
> we never managed to get voltage levels for it.
>
> Avoid creating such a directory unnecessarily.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project