From: Sachin Kamat Date: Sun, 8 Jun 2014 06:10:25 +0000 (-0700) Subject: Input: max8997_haptic - add error handling for regulator and pwm X-Git-Tag: omap-for-v3.16/fixes-against-rc1~76^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1bc3031e87f98f5f56f4f8fc23609371dbfa3bf;p=pandora-kernel.git Input: max8997_haptic - add error handling for regulator and pwm Let's start checking return value of regulator_enable and pwm_enable to avoid errors. Fixes the following warning: drivers/input/misc/max8997_haptic.c:185:19: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed