diff options
author | Wolfgang Denk <wd@denx.de> | 2009-05-15 10:07:42 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-12 20:39:51 +0200 |
commit | f62f64692ff7f6226ad221d5df6487ea5ef39bdd (patch) | |
tree | 02c3aea8d22185ec2ed4cd6ca478ea5f3adb5619 /cpu/arm926ejs/davinci/dp83848.c | |
parent | 1699da6297b8c22da16cf85b3c79192f1a6d70ca (diff) | |
download | u-boot-imx-f62f64692ff7f6226ad221d5df6487ea5ef39bdd.zip u-boot-imx-f62f64692ff7f6226ad221d5df6487ea5ef39bdd.tar.gz u-boot-imx-f62f64692ff7f6226ad221d5df6487ea5ef39bdd.tar.bz2 |
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>
Diffstat (limited to 'cpu/arm926ejs/davinci/dp83848.c')
0 files changed, 0 insertions, 0 deletions