backlight: backlight: Fix doc for backlight_device_get_by_name
authorMiaoqian Lin <linmq006@gmail.com>
Thu, 15 Dec 2022 07:19:01 +0000 (11:19 +0400)
committerLee Jones <lee@kernel.org>
Wed, 22 Feb 2023 10:53:26 +0000 (10:53 +0000)
commit3755b46a1bf47a6778f4ce33def1e6122796f57c
tree3bdc9c8a4a0fe9f53133870c4e9a54849cf6902b
parent1b929c02afd37871d5afb9d498426f83432e71c2
backlight: backlight: Fix doc for backlight_device_get_by_name

backlight_put() has been dropped, we should call put_device() to drop
the reference taken by backlight_device_get_by_name().

Fixes: 0f6a3256fd81 ("backlight: backlight: Drop backlight_put()")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221215071902.424005-1-linmq006@gmail.com
drivers/video/backlight/backlight.c