cc76404fea
The call to of_find_compatible_node() returns a node pointer with
refcount incremented thus it must be explicitly decremented after the
last usage.
irq_domain_add_linear() also calls of_node_get() to increase refcount,
so irq_domain() will not be affected when it is released.
Detected by coccinelle.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
adder875.c | ||
ep88xc.c | ||
m8xx_setup.c | ||
machine_check.c | ||
mpc8xx.h | ||
mpc86xads.h | ||
mpc86xads_setup.c | ||
mpc885ads.h | ||
mpc885ads_setup.c | ||
pic.c | ||
pic.h | ||
tqm8xx_setup.c |