commit | f934fbd6ba5af5d9328e642794be2842e538d1c6 | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@freescale.com> | Mon Dec 19 16:26:14 2011 -0600 |
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | Tue Jan 03 15:59:08 2012 +0000 |
tree | 589d2df6944cd1f347f01190cbb10c69656b7f29 | |
parent | 56bba8cb4218b2646a1d80c100bad689f93fef79 [diff] |
drivers/video: fsl-diu-fb: merge init_fbinfo() into install_fb() Function init_fbinfo() is called only from install_fb(), and it's only a few lines long. Plus, it ignores the return code from fb_alloc_cmap(). Merge its contents into install_fb() and handle errors properly. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>