Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
cpufreq
/
s5pv210-cpufreq.c
diff --git
a/kernel/drivers/cpufreq/s5pv210-cpufreq.c
b/kernel/drivers/cpufreq/s5pv210-cpufreq.c
index
b0dac7d
..
051a8a8
100644
(file)
--- a/
kernel/drivers/cpufreq/s5pv210-cpufreq.c
+++ b/
kernel/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;
/* Find current DRAM frequency */
tmp = s5pv210_dram_conf[ch].freq;
-
do_div(tmp, freq)
;
+
tmp /= freq
;
tmp1 = s5pv210_dram_conf[ch].refresh;
tmp1 = s5pv210_dram_conf[ch].refresh;
-
do_div(tmp1, tmp)
;
+
tmp1 /= tmp
;
__raw_writel(tmp1, reg);
}
__raw_writel(tmp1, reg);
}
@@
-659,4
+659,4
@@
static struct platform_driver s5pv210_cpufreq_platdrv = {
},
.probe = s5pv210_cpufreq_probe,
};
},
.probe = s5pv210_cpufreq_probe,
};
-
module
_platform_driver(s5pv210_cpufreq_platdrv);
+
builtin
_platform_driver(s5pv210_cpufreq_platdrv);