]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Check return value in pwm_backlight_of_to_plat()
authorSimon Glass <sjg@chromium.org>
Fri, 14 May 2021 01:39:18 +0000 (19:39 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 15 Jul 2021 22:42:05 +0000 (18:42 -0400)
commit92598bdbaef2c73566cd4a4ba8bd40889b0848ce
treea8613f175cdf1f176b9189a3508a4aa26be076a6
parent9d9bec216d4207b3f3336eda2ca2ba73698574cb
video: Check return value in pwm_backlight_of_to_plat()

This cannot actually fail, but check the value anyway to keep coverity
happy.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 316351)
drivers/video/pwm_backlight.c