summaryrefslogtreecommitdiff
path: root/drivers/hwmon/lineage-pem.c
diff options
context:
space:
mode:
authorAbdulrasaq Lawani <abdulrasaqolawani@gmail.com>2024-04-23 04:20:21 +0300
committerHelge Deller <deller@gmx.de>2024-04-25 13:13:06 +0300
commitce4a7ae84a58b9f33aae8d6c769b3c94f3d5ce76 (patch)
tree11604efbb094416b505e763e030d7e82993e9ac6 /drivers/hwmon/lineage-pem.c
parent6ad959b6703e2c4c5d7af03b4cfd5ff608036339 (diff)
downloadlinux-ce4a7ae84a58b9f33aae8d6c769b3c94f3d5ce76.tar.xz
fbdev: offb: replace of_node_put with __free(device_node)
Replaced instance of of_node_put with __free(device_node) to simplify code and protect against any memory leaks due to future changes in the control flow. Suggested-by: Julia Lawall <julia.lawall@inria.fr> Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/hwmon/lineage-pem.c')
0 files changed, 0 insertions, 0 deletions