]> git.baikalelectronics.ru Git - kernel.git/commit
blackfin-cpufreq: Change return type of cpu_set_cclk() to that of clk_set_rate()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 21 Dec 2015 20:56:27 +0000 (21:56 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 28 Dec 2015 00:51:35 +0000 (01:51 +0100)
commit4276e29f2de54e3ef30b84fda0a1754705fd85e7
tree8544b9d81d670f5e7d6d954fbd2b69a6daf84a93
parentd1eff05ece1a8f9617f3c22d6fbc193f4698afe4
blackfin-cpufreq: Change return type of cpu_set_cclk() to that of clk_set_rate()

The return type "unsigned long" was used by the cpu_set_cclk() function
while the type "int" is provided by the clk_set_rate() function.
Let us make this usage consistent.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/blackfin-cpufreq.c