[PATCH v3][next] backlight: sky81452-backlight: Remove unnecessary call to of_node_get

Lee Jones lee at kernel.org
Thu May 2 09:36:23 UTC 2024


On Thu, 02 May 2024, Shresth Prasad wrote:

> `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.
> 
> Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>
> Signed-off-by: Shresth Prasad <shresthprasad7 at gmail.com>
> ---
> Changes in v3:
>     - Remove unnecessary braces
> 
>  drivers/video/backlight/sky81452-backlight.c | 8 ++------
>  1 file changed, 2 insertions(+), 6 deletions(-)

No idea what you're talking about.

This patch/version doesn't exist in either my inbox or LORE:

  https://lore.kernel.org/all/?q=%22%5BPATCH+v3%5D%5Bnext%5D+backlight%3A+sky81452-backlight%3A+Remove+unnecessary+call+to+of_node_get%22

-- 
Lee Jones [李琼斯]


More information about the dri-devel mailing list