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

2017-05-22 Thread Stephen Boyd
On 05/17, 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: Vir

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

2017-05-16 Thread Viresh Kumar
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 --- drivers/base/power/opp/debug