cpufreq: speedstep: fix speedstep_detect_processor()'s return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:14:13 +0000 (15:14 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 May 2018 09:46:00 +0000 (11:46 +0200)
commitdf21443ff6a5e04549779001c9c02b0be7847355
tree7bd1afbc80f10dcf83d644b20ecace473696b472
parent9c28d6df7534e1b64d485fde02ebe62375ea9bcc
cpufreq: speedstep: fix speedstep_detect_processor()'s return type

speedstep_detect_processor() is declared as returing an
'enum speedstep_processor' but use an 'int' in its definition.

Fix this by using 'enum speedstep_processor' in its definition too.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/speedstep-lib.c