exynos-cpufreq: fix false return check from "regulator_set_voltage"
authorManish Badarkhe <badarkhe.manish@gmail.com>
Wed, 9 Oct 2013 15:13:37 +0000 (20:43 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Oct 2013 22:43:48 +0000 (00:43 +0200)
commit006454ae779d5d3f6ac518f0903475a5142bef5b
treef037c94494ac9447b411a15227a8ac06c82da59e
parent7b6f38f09ebb4b88e8ed7740bcbcc08a8882bbb7
exynos-cpufreq: fix false return check from "regulator_set_voltage"

Currently, code checks false return value from "regulator_set_voltage"
to show failure message. Modify the code to check proper return
value from "regulator_set_voltage".

Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/exynos-cpufreq.c