From: Fabio Estevam Date: Tue, 21 May 2013 14:24:44 +0000 (-0300) Subject: staging: imx-drm: imx-tve: Check the return value of 'regulator_enable()' X-Git-Tag: v3.10-rc3~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7b0cf3e712775e8e2015c2f4582864159540be6;p=pandora-kernel.git 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 Acked-by: Shawn Guo Acked-by: Sascha Hauer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed