sh: free-without-alloc fix for sh_mobile_lcdcfb

Without this fix the LCDC driver will try to free
framebuffer memory even though the allocation failed.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Magnus Damm 2010-10-13 07:17:45 +00:00 • committed by Paul Mundt
commit 1ffbb037d8