video: da8xx-fb: fix fb_probe error path
authoraxel lin <axel.lin@gmail.com>
Thu, 20 Jan 2011 03:50:51 +0000 (03:50 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 25 Jan 2011 06:09:13 +0000 (15:09 +0900)
commit360c202bebfecbedb129c07361ae8a738552eae3
tree9e1e931ee17e35362e2b429fbdcf2c993f5322ff
parent0b7f1cc79d61427961e311c6a21f528bdb226e40
video: da8xx-fb: fix fb_probe error path

Current implementation puts CONFIG_CPU_FREQ at wrong place, CONFIG_CPU_FREQ
is for lcd_da8xx_cpufreq_deregister not for unregister_framebuffer.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/da8xx-fb.c