mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-28 10:37:55 +00: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_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 | ||
| ocelot.c | ||
| ocelot.h | ||