commit | f62f64692ff7f6226ad221d5df6487ea5ef39bdd | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Fri May 15 10:07:42 2009 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Fri Jun 12 20:39:51 2009 +0200 |
tree | 02c3aea8d22185ec2ed4cd6ca478ea5f3adb5619 | |
parent | 1699da6297b8c22da16cf85b3c79192f1a6d70ca [diff] |
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: Wolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de>