projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ACPI-EC: Drop unnecessary check made before calling acpi_ec_delete_query()
[deliverable/linux.git]
/
drivers
/
cpufreq
/
s5pv210-cpufreq.c
diff --git
a/drivers/cpufreq/s5pv210-cpufreq.c
b/drivers/cpufreq/s5pv210-cpufreq.c
index 9e231f52150c404ebd92e6d74ea6a24b5642576a..051a8a8224cd7ade8b846e62fc27d0733ba8f73b 100644
(file)
--- a/
drivers/cpufreq/s5pv210-cpufreq.c
+++ b/
drivers/cpufreq/s5pv210-cpufreq.c
@@
-212,11
+212,11
@@
static void s5pv210_set_refresh(enum s5pv210_dmc_port ch, unsigned long freq)
/* Find current DRAM frequency */
tmp = s5pv210_dram_conf[ch].freq;
-
do_div(tmp, freq)
;
+
tmp /= freq
;
tmp1 = s5pv210_dram_conf[ch].refresh;
-
do_div(tmp1, tmp)
;
+
tmp1 /= tmp
;
__raw_writel(tmp1, reg);
}
This page took
0.027618 seconds
and
5
git commands to generate.