]> git.karo-electronics.de Git - linux-beck.git/commit
OMAP: DSS2: OMAPFB: Fix probe error path
authorAfzal Mohammed <lazfamam@gmail.com>
Thu, 1 Jul 2010 13:40:01 +0000 (15:40 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 5 Aug 2010 13:52:15 +0000 (16:52 +0300)
commite26ed44c950ed9d1feb7719100f475e4e80f1419
tree538300a14220b9c22937ea414ce16a9ba700c0f9
parentf3fe53c12000adfd50b6a111bd0f5b27a412ca31
OMAP: DSS2: OMAPFB: Fix probe error path

Move sysfs entry creation to omapfb_probe() from omapfb_create_framebuffers().
This will make sure that sysfs entry is not left behind in case of unsuccessful
probe due to failure in enabling fb0 of omapfb_create_framebuffers().

Signed-off-by: Afzal Mohammed <lazfamam@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/omapfb/omapfb-main.c