Skip to content
Commit 1fd949f6 authored by Shresth Prasad's avatar Shresth Prasad Committed by Lee Jones
Browse files

backlight: sky81452-backlight: Remove unnecessary call to of_node_get()



`dev->of_node` already has a reference to the device_node and calling
of_node_get on it is unnecessary. All conresponding calls to
of_node_put are also removed.

Signed-off-by: default avatarShresth Prasad <shresthprasad7@gmail.com>
Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240502172121.8695-2-shresthprasad7@gmail.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent f80460c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment