Re: [PATCH] can: dev: add missing of_node_put after calling of_get_child_by_name

From: Marc Kleine-Budde
Date: Fri Oct 04 2019 - 17:12:11 EST


On 9/28/19 4:29 PM, Wen Yang wrote:
> of_node_put needs to be called when the device node which is got
> from of_get_child_by_name finished using.
>
> fixes: 2290aefa2e90 ("can: dev: Add support for limiting configured bitrate")
> Signed-off-by: Wen Yang <wenyang@xxxxxxxxxxxxxxxxx>
> Cc: Wolfgang Grandegger <wg@xxxxxxxxxxxxxx>
> Cc: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Franklin S Cooper Jr <fcooper@xxxxxx>
> Cc: linux-can@xxxxxxxxxxxxxxx
> Cc: netdev@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx

Applied to linux-can.

Tnx,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |

Attachment: signature.asc
Description: OpenPGP digital signature