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
/
powerpc
/
sysdev
/
mpc5xxx_clocks.c
diff --git
a/kernel/arch/powerpc/sysdev/mpc5xxx_clocks.c
b/kernel/arch/powerpc/sysdev/mpc5xxx_clocks.c
index
f4f0301
..
5732926
100644
(file)
--- a/
kernel/arch/powerpc/sysdev/mpc5xxx_clocks.c
+++ b/
kernel/arch/powerpc/sysdev/mpc5xxx_clocks.c
@@
-13,7
+13,6
@@
unsigned long mpc5xxx_get_bus_frequency(struct device_node *node)
{
unsigned long mpc5xxx_get_bus_frequency(struct device_node *node)
{
- struct device_node *np;
const unsigned int *p_bus_freq = NULL;
of_node_get(node);
const unsigned int *p_bus_freq = NULL;
of_node_get(node);
@@
-22,9
+21,7
@@
unsigned long mpc5xxx_get_bus_frequency(struct device_node *node)
if (p_bus_freq)
break;
if (p_bus_freq)
break;
- np = of_get_parent(node);
- of_node_put(node);
- node = np;
+ node = of_get_next_parent(node);
}
of_node_put(node);
}
of_node_put(node);