Message ID | 1377345058-22177-1-git-send-email-m.chehab@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/platform/vsp1/vsp1_drv.c b/drivers/media/platform/vsp1/vsp1_drv.c index 8700842..ff8cd2d 100644 --- a/drivers/media/platform/vsp1/vsp1_drv.c +++ b/drivers/media/platform/vsp1/vsp1_drv.c @@ -434,8 +434,8 @@ static int vsp1_probe(struct platform_device *pdev) /* I/O, IRQ and clock resources */ io = platform_get_resource(pdev, IORESOURCE_MEM, 0); vsp1->mmio = devm_ioremap_resource(&pdev->dev, io); - if (IS_ERR((void *)vsp1->mmio)) - return PTR_ERR((void *)vsp1->mmio); + if (IS_ERR(vsp1->mmio)) + return PTR_ERR(vsp1->mmio); vsp1->clock = devm_clk_get(&pdev->dev, NULL); if (IS_ERR(vsp1->clock)) {