commit | c4dcc8a162784c1f827c7f6d8409598f19708fe6 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Jul 16 09:36:08 2019 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Jul 16 10:20:11 2019 +0200 |
tree | 5563ea21bf256b47edd2cd12e2978d088b60a5f3 | |
parent | 5b8010ba70d5aa5b321d3e69b5b31cc3db857d5e [diff] |
cpufreq: Make cpufreq_generic_init() return void It always returns 0 (success) and its return type should really be void. Over that, many drivers have added error handling code based on its return value, which is not required at all. Change its return type to void and update all the callers. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>