commit | cbec6d3ab470565536480d3bd109a7fdb128c3c4 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sat Aug 24 08:47:51 2013 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sat Aug 24 08:47:51 2013 -0300 |
tree | 48b13d3d9d00164dba38b89ac2f8098705ff8b1b | |
parent | e9a7495c5b745683a0f20bea9bc0a5c135f0260c [diff] |
[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>