summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2022-10-12 21:57:56 +0200
committerSimon Glass <sjg@chromium.org>2022-10-17 21:17:12 -0600
commitf42642347120d988e7cf6986139e7ec68e36bc6b (patch)
tree8e17d031e8d4d4e76c009997848e6bed6a27ae59 /drivers/w1
parent7ff12631b44cdbb86c868ce02efd5a06429c7683 (diff)
downloadu-boot-f42642347120d988e7cf6986139e7ec68e36bc6b.tar.gz
video: ipuv3: Fix error handling when getting the display
The code checks that uclass_first_device returned a device but the returned value that is assigned is never used. Use uclass_first_device_err instead, and move the error return outside of the if block. Fixes: f4ec1ae08e ("mxc_ipuv3_fb.c: call display_enable") Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions