Skip to content
Snippets Groups Projects
Commit f62f6469 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

drv_video_init(): simplify logic


Simplify nesting of drv_video_init() and use a consistent way of
indicating failure / success. Before, it took me some time to realize
which of the returns was due to an error condition and which of them
indicated success.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
parent 1699da62
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment