diff options
author | Timur Tabi <timur@freescale.com> | 2011-12-19 16:26:14 -0600 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-03 15:59:08 +0000 |
commit | f934fbd6ba5af5d9328e642794be2842e538d1c6 (patch) | |
tree | 589d2df6944cd1f347f01190cbb10c69656b7f29 /drivers/leds/leds-regulator.c | |
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>
Diffstat (limited to 'drivers/leds/leds-regulator.c')
0 files changed, 0 insertions, 0 deletions