mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 10:36:48 +07:00
d2c50b1cd9
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 |