diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c index 48e454662ee..ff87daf5c29 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c @@ -1038,11 +1038,6 @@ static int s5p_mfc_probe(struct platform_device *pdev) spin_lock_init(&dev->irqlock); spin_lock_init(&dev->condlock); dev->plat_dev = pdev; - if (!dev->plat_dev) { - dev_err(&pdev->dev, "No platform data specified\n"); - return -ENODEV; - } - dev->variant = mfc_get_drv_data(pdev); ret = s5p_mfc_init_pm(dev); |