aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/alps.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-01-09 20:43:06 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-01-11 18:52:59 -0500
commit3cb6dcfa44e883412f8df2f2b1917b0d359f3ec4 (patch)
tree5752ccd4871f825d4f89acaa3d26a9c3a74875ec /drivers/input/mouse/alps.c
parentf17effbe891624fe1ec2dcfa68625ed1c98ebe3a (diff)
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 <axel.lin@ingics.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/alps.c')
0 files changed, 0 insertions, 0 deletions