Message ID | alpine.DEB.2.22.394.2109021851450.52031@hadrien (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | spi: fix for_each_child.cocci warnings | expand |
--- a/drivers/spi/spi-zynqmp-gqspi.c +++ b/drivers/spi/spi-zynqmp-gqspi.c @@ -1362,6 +1362,7 @@ static int zynqmp_qspi_probe(struct plat &rx_bus_width); if (!ret) { xqspi->rx_bus_width = rx_bus_width; + of_node_put(nc); break; } } @@ -1374,6 +1375,7 @@ static int zynqmp_qspi_probe(struct plat &tx_bus_width); if (!ret) { xqspi->tx_bus_width = tx_bus_width; + of_node_put(nc); break; } }