drm/panel: vtdr6130: fix unused ret in visionox_vtdr6130_bl_update_status
authorNeil Armstrong <neil.armstrong@linaro.org>
Thu, 19 Jan 2023 14:04:12 +0000 (15:04 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 19 Jan 2023 14:32:11 +0000 (15:32 +0100)
commitebd05c0e12edc568243056711ce00f79e19eab68
tree46e0b7bb2834216e3d50492c0d6c2d0f8a0c3afd
parent43bde505d66a41c2ad706d603e97b2c8aa2fbe4a
drm/panel: vtdr6130: fix unused ret in visionox_vtdr6130_bl_update_status

Fix the following warning:
panel-visionox-vtdr6130.c:249:12: warning: 'ret' is used uninitialized [-Wuninitialized]

Fixes: 9402cde9347e ("drm/panel: vtdr6130: Use 16-bit brightness function")
Reported-by: Daniel Vetter <daniel@ffwll.ch>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230119-topic-sm8550-vtdr6130-fixup-v1-1-82c4fb008138@linaro.org
drivers/gpu/drm/panel/panel-visionox-vtdr6130.c