Re: [PATCH] spi: cadence-quadspi: add missing of_node_put

2021-03-01 Thread Mark Brown
On Mon, 15 Feb 2021 19:04:25 +0800, angkery wrote: > Fix OF node leaks by calling of_node_put in > for_each_available_child_of_node when the cycle returns. > > Generated by: scripts/coccinelle/iterators/for_each_child.cocci Applied to

[PATCH] spi: cadence-quadspi: add missing of_node_put

2021-02-15 Thread angkery
From: Junlin Yang Fix OF node leaks by calling of_node_put in for_each_available_child_of_node when the cycle returns. Generated by: scripts/coccinelle/iterators/for_each_child.cocci Signed-off-by: Junlin Yang --- drivers/spi/spi-cadence-quadspi.c | 6 +- 1 file changed, 5 insertions(+),