From 697be361d2b3fd7760869341d7ce805092a5c1e5 Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Wed, 21 Aug 2013 11:31:37 +0300 Subject: [PATCH] twl4030-charger: Fix compiler warning with regulator_enable() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The return value of regulator_enable need to be checked. This patch fixes the following warning: drivers/power/twl4030_charger.c: In function ‘twl4030_charger_enable_usb’: drivers/power/twl4030_charger.c:192:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Peter Ujfalusi Signed-off-by: Anton Vorontsov --- Reading git-format-patch failed