From: Timur Tabi Date: Mon, 19 Dec 2011 22:26:16 +0000 (-0600) Subject: drivers/video: fsl-diu-fb: remove broken reference count enabling the display X-Git-Tag: v3.3-rc1~59^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d397e916f313441d0c6b37df4b296c1dcc6aa202;p=pandora-kernel.git 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 Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed