imx-drm: imx-tve: Remove unneeded check for platform_get_resource()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 22 Jul 2013 01:19:42 +0000 (22:19 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:35:22 +0000 (13:35 -0700)
commit7c3836a48e318ef8676f43af6632db3f89bf8cc1
tree40a192b2bf990e359226ce24c8acfa5f11b76ea1
parent1c0541873c281d39e167a47634d5402adb4e3ae4
imx-drm: imx-tve: Remove unneeded check for platform_get_resource()

As devm_ioremap_resource() is used on probe, there is no need to explicitly
check the return value from platform_get_resource(), as this is something that
devm_ioremap_resource() takes care by itself.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-tve.c