diff options
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index 1f01dfc5e52e..0aaaa8a8e0f5 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c | |||
@@ -510,7 +510,7 @@ static int taal_probe(struct omap_dss_device *dssdev) | |||
510 | if (td->esd_wq == NULL) { | 510 | if (td->esd_wq == NULL) { |
511 | dev_err(&dssdev->dev, "can't create ESD workqueue\n"); | 511 | dev_err(&dssdev->dev, "can't create ESD workqueue\n"); |
512 | r = -ENOMEM; | 512 | r = -ENOMEM; |
513 | goto err2; | 513 | goto err1; |
514 | } | 514 | } |
515 | INIT_DELAYED_WORK_DEFERRABLE(&td->esd_work, taal_esd_work); | 515 | INIT_DELAYED_WORK_DEFERRABLE(&td->esd_work, taal_esd_work); |
516 | 516 | ||
@@ -528,7 +528,7 @@ static int taal_probe(struct omap_dss_device *dssdev) | |||
528 | &taal_bl_ops); | 528 | &taal_bl_ops); |
529 | if (IS_ERR(bldev)) { | 529 | if (IS_ERR(bldev)) { |
530 | r = PTR_ERR(bldev); | 530 | r = PTR_ERR(bldev); |
531 | goto err1; | 531 | goto err2; |
532 | } | 532 | } |
533 | 533 | ||
534 | td->bldev = bldev; | 534 | td->bldev = bldev; |