OMAP: DSS2: Taal: Remove ESD work cancel from driver probe error handling

ESD work is never queued in probe, no need to cancel it on probe error.

Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
This commit is contained in:
Jani Nikula 2010-04-09 14:01:37 +03:00 committed by Tomi Valkeinen
parent 2f1e5f606a
commit d803bb6e68

View file

@ -627,7 +627,6 @@ static int taal_probe(struct omap_dss_device *dssdev)
err3:
backlight_device_unregister(bldev);
err2:
cancel_delayed_work_sync(&td->esd_work);
destroy_workqueue(td->esd_wq);
err1:
kfree(td);