From: Axel Lin Date: Sat, 10 Jan 2015 01:43:06 +0000 (-0800) Subject: Input: regulator-haptic - simplify code X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~128^2^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cb6dcfa44e883412f8df2f2b1917b0d359f3ec4;p=pandora-kernel.git Input: regulator-haptic - simplify code All the use cases in this driver has a regulator_haptic_toggle() call after regulator_haptic_set_voltage(). So make regulator_haptic_set_voltage() call regulator_haptic_toggle() to simplify the code. Signed-off-by: Axel Lin Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed