commit | 1fae788ed640e2a961c2edab54bfd56c73e2506a | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue May 23 09:32:13 2017 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jun 22 03:15:30 2017 +0200 |
tree | 1ae76cff96fcc95562e316da4907de7b0ca1f91a | |
parent | 688a48b0d27000167e0450bc1243e29a560395ca [diff] |
PM / OPP: Don't create debugfs "supply-0" directory unnecessarily 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@linaro.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>