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
/
arch
/
arm
/
mach-lpc32xx
/
clock.c
diff --git
a/kernel/arch/arm/mach-lpc32xx/clock.c
b/kernel/arch/arm/mach-lpc32xx/clock.c
index
dd5d6f5
..
661c8f4
100644
(file)
--- a/
kernel/arch/arm/mach-lpc32xx/clock.c
+++ b/
kernel/arch/arm/mach-lpc32xx/clock.c
@@
-1238,10
+1238,7
@@
static struct clk_lookup lookups[] = {
static int __init clk_init(void)
{
- int i;
-
- for (i = 0; i < ARRAY_SIZE(lookups); i++)
- clkdev_add(&lookups[i]);
+ clkdev_add_table(lookups, ARRAY_SIZE(lookups));
/*
* Setup muxed SYSCLK for HCLK PLL base -this selects the