From: Viresh Kumar Date: Thu, 28 Aug 2014 05:52:29 +0000 (+0530) Subject: cpufreq: cpu0: try regulators with name "cpu-supply" X-Git-Tag: fixes-against-v3.18-rc2~138^2~3^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d2c5e0e72546c1b4375ff5820ca8016c7123cbb;p=pandora-kernel.git cpufreq: cpu0: try regulators with name "cpu-supply" Currently, we expect regulator name to be "cpu0", but as we are going to support multiple cpu-blocks (all CPUs in a block share clock/voltage) later, we need to pass some generic string instead of that. For backwards compatibility try for "cpu0" first and if it fails, then try for "cpu". Suggested-by: Stephen Boyd Tested-by: Stephen Boyd Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed