diff options
author | Timur Tabi <timur@freescale.com> | 2011-12-19 16:26:16 -0600 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-03 15:59:08 +0000 |
commit | d397e916f313441d0c6b37df4b296c1dcc6aa202 (patch) | |
tree | 99c4107c132c8e652982bdaaf1808b2df0158728 /init | |
parent | 934dbeebed7764de683f8048cd94973d47c57f7b (diff) | |
download | blackbird-op-linux-d397e916f313441d0c6b37df4b296c1dcc6aa202.tar.gz blackbird-op-linux-d397e916f313441d0c6b37df4b296c1dcc6aa202.zip |
drivers/video: fsl-diu-fb: remove broken reference count enabling the display
The functions enable_lcdc() and disable_lcdc() used the variable fb_enable
to keep a reference count of when the display is enabled, but the code is
broken. The display is always disabled when disable_lcdc(), and it is
always enabled when enable_lcdc() is called, regardless of the value of
fb_enable. Obviously, we don't need to keep a reference count, so just
remove the variable.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions