mirror of
https://github.com/torvalds/linux.git
synced 2025-11-06 03:29:11 +02:00
of_node_put needs to be called when the device node which is got
from of_get_child_by_name finished using.
In both cases of success and failure, we need to release 'ports',
so clean up the code using goto.
fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ocelot.c | ||
| ocelot.h | ||
| ocelot_ace.c | ||
| ocelot_ace.h | ||
| ocelot_ana.h | ||
| ocelot_board.c | ||
| ocelot_dev.h | ||
| ocelot_flower.c | ||
| ocelot_io.c | ||
| ocelot_police.c | ||
| ocelot_police.h | ||
| ocelot_ptp.h | ||
| ocelot_qs.h | ||
| ocelot_qsys.h | ||
| ocelot_regs.c | ||
| ocelot_rew.h | ||
| ocelot_s2.h | ||
| ocelot_sys.h | ||
| ocelot_tc.c | ||
| ocelot_tc.h | ||
| ocelot_vcap.h | ||