[PATCH 09/10] Input: raspberrypi-ts - use cleanup facility for device_node

Dmitry Torokhov dmitry.torokhov at gmail.com
Sat Oct 19 21:20:10 PDT 2024


On Thu, Oct 10, 2024 at 11:25:59PM +0200, Javier Carrasco wrote:
> Use the '__free(device_node)' macro to automatically free the device
> node, removing the need for explicit calls to 'of_node_put()' to
> decrement its refcount.
> 
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz at gmail.com>

Applied, thank you.

-- 
Dmitry



More information about the Linux-mediatek mailing list