OMAP: DSS2: OMAPFB: fix dssdev cleanup on error
authorTomi Valkeinen <tomi.valkeinen@nokia.com>
Wed, 17 Feb 2010 10:00:01 +0000 (12:00 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 18 Feb 2010 11:19:51 +0000 (13:19 +0200)
commitb3f91eb8d8d17ad3ca5da4fa9f20d2e46133fd99
treedb3938ff5c9a7bf86ab4062ac9ddb4c009179b62
parentc121b15244c53637c3e9ca608b8816abcfbe2f8e
OMAP: DSS2: OMAPFB: fix dssdev cleanup on error

If there was a dss device without a driver and thus omapfb probe failed,
ref counts could be left to dss devices.

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