]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: twl4030-vibra - use cleanup facility for device_node
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Sun, 20 Oct 2024 04:07:41 +0000 (21:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 20 Oct 2024 04:21:40 +0000 (21:21 -0700)
commitd3dcadd654aefadebe847da74059dce6cc506e6b
tree1d62e4b14f7c38ab817667a4075d9aab96a6a5d2
parent0ba9d3a597c4446072f2a4326689b8858761c8f7
Input: twl4030-vibra - use cleanup facility for device_node

Use the '__free(device_node)' macro to simplify the code by
automatically freeing the device node.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20241010-input_automate_of_node_put-v1-5-ebc62138fbf8@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/twl4030-vibra.c