aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-05-21 11:24:44 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 10:48:54 -0700
commitc7b0cf3e712775e8e2015c2f4582864159540be6 (patch)
tree5d5c9d67a78520f58d1ebd2600756a38923f8a9d /drivers/staging/iio
parentstaging: video: imx: Select VIDEOMODE_HELPERS for parallel display (diff)
downloadlinux-dev-c7b0cf3e712775e8e2015c2f4582864159540be6.tar.xz
linux-dev-c7b0cf3e712775e8e2015c2f4582864159540be6.zip
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>
Diffstat (limited to 'drivers/staging/iio')
0 files changed, 0 insertions, 0 deletions