[media] vsp1: Fix a sparse warning
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 Aug 2013 11:47:51 +0000 (08:47 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 Aug 2013 11:47:51 +0000 (08:47 -0300)
commitcbec6d3ab470565536480d3bd109a7fdb128c3c4
tree48b13d3d9d00164dba38b89ac2f8098705ff8b1b
parente9a7495c5b745683a0f20bea9bc0a5c135f0260c
[media] vsp1: Fix a sparse warning

As reported by: kbuild test robot <fengguang.wu@intel.com>:
 drivers/media/platform/vsp1/vsp1_drv.c:434:21: sparse: cast removes address space of expression

   433 vsp1->mmio = devm_ioremap_resource(&pdev->dev, io);
 > 434 if (IS_ERR((void *)vsp1->mmio))
 > 435 return PTR_ERR((void *)vsp1->mmio);

There's no need to convert it to void *.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vsp1/vsp1_drv.c