commit | 50bc99cbc5741eedba57e6f22b874837de70df25 | [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 | 2495b2d4d5563ca0280c3822d1ca279a118c5218 [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>