OpenCloudOS-Kernel/drivers/staging/imx-drm
Fabio Estevam c7b0cf3e71 staging: imx-drm: imx-tve: Check the return value of 'regulator_enable()'
Since commit c8801a8 (regulator: core: Mark all get and enable calls as
__must_check) we need to check the value returned by 'regulator_enable()'.

Do this check to get rid of the following build warning:

drivers/staging/imx-drm/imx-tve.c: In function 'imx_tve_probe':
drivers/staging/imx-drm/imx-tve.c:671:19: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-05-21 10:48:54 -07:00
..
ipu-v3 ARM: arm-soc platform updates for 3.10, part 3 2013-05-07 11:02:18 -07:00
Kconfig staging: video: imx: Select VIDEOMODE_HELPERS for parallel display 2013-05-21 10:48:54 -07:00
Makefile staging: drm/imx: Add support for Television Encoder (TVEv2) 2013-04-09 16:16:17 -07:00
TODO staging: drm/imx: update TODO file 2013-04-11 12:56:10 -07:00
imx-drm-core.c staging: drm/imx: Add support for VGA via TVE on i.MX53 2013-04-09 16:16:16 -07:00
imx-drm.h staging: drm/imx: Add support for VGA via TVE on i.MX53 2013-04-09 16:16:16 -07:00
imx-fb.c staging: drm/imx: Add i.MX drm core support 2012-09-21 09:15:00 -07:00
imx-fbdev.c staging: drm/imx: Add i.MX drm core support 2012-09-21 09:15:00 -07:00
imx-tve.c staging: imx-drm: imx-tve: Check the return value of 'regulator_enable()' 2013-05-21 10:48:54 -07:00
ipuv3-crtc.c staging: drm/imx: Add support for VGA via TVE on i.MX53 2013-04-09 16:16:16 -07:00
parallel-display.c staging: video: imx: Add BGR666 support for parallel display 2013-04-23 10:38:49 -07:00