diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-05-21 14:29:29 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-29 01:27:38 +0200 |
commit | 8d65775d17941d6d41f5913fc6a99a134c588e01 (patch) | |
tree | 008d4a6576e1859884384a99b3fefc110e7c3094 /drivers/mfd | |
parent | 1ef546f22f14eea624681aa2793f4f07b051b68d (diff) |
cpufreq: handle calls to ->target_index() in separate routine
Handling calls to ->target_index() has got complex over time and might become
more complex. So, its better to take target_index() bits out in another routine
__target_index() for better code readability. Shouldn't have any functional
impact.
Tested-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions