cpufreq: s5pv210-cpufreq: fix wrong do_div() usage
authorNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 3 Nov 2015 22:13:57 +0000 (17:13 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Nov 2015 21:50:48 +0000 (22:50 +0100)
commitd7e53e35f9f54cdfa09a8456ae8e9874ec66bb36
tree6ffae5c919377a2c3d871faf4900b7c999cee283
parent58ac1f6202aab03d1f2c5fcfe3552af4b93321d3
cpufreq: s5pv210-cpufreq: fix wrong do_div() usage

It is wrong to use do_div() with 32-bit dividends (unsigned long is
32 bits on 32-bit architectures).

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/s5pv210-cpufreq.c