[PATCH v2] gpio: rockchip: release reference to device node
Heiko Stübner
heiko at sntech.de
Fri Aug 23 02:28:52 PDT 2024
Am Freitag, 23. August 2024, 05:43:05 CEST schrieb Ye Zhang:
> Added a call to of_node_put(pctlnp) in rockchip_gpio_probe to properly
> release the reference to the device node, improving memory management
> and preventing potential leaks.
>
> Fixes: 936ee2675eee ("gpio/rockchip: add driver for rockchip gpio")
> Signed-off-by: Ye Zhang <ye.zhang at rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko at sntech.de>
More information about the linux-arm-kernel
mailing list