summaryrefslogtreecommitdiffstats
path: root/drivers/input/ff-memless.c
diff options
context:
space:
mode:
authorBaodong Chen <chenbdchenbd@gmail.com>2012-07-30 07:33:03 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-08-22 07:29:49 +0200
commit41091ad0b8f843d36390058362c8f3c52a26a333 (patch)
treed815c4202c6ae189cdd881228580451e4aec6e22 /drivers/input/ff-memless.c
parentInput: twl4030-pwrbutton - report a wakeup_event on button press (diff)
downloadlinux-41091ad0b8f843d36390058362c8f3c52a26a333.tar.xz
linux-41091ad0b8f843d36390058362c8f3c52a26a333.zip
Input: random formatting fixes
Fixes for some coding style issues reported by scripts/checkpatch.pl utility. Signed-off-by: Baodong Chen <chenbdchenbd@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/ff-memless.c')
-rw-r--r--drivers/input/ff-memless.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/input/ff-memless.c b/drivers/input/ff-memless.c
index b107922514fb..74c0d8c6002a 100644
--- a/drivers/input/ff-memless.c
+++ b/drivers/input/ff-memless.c
@@ -72,12 +72,14 @@ static const struct ff_envelope *get_envelope(const struct ff_effect *effect)
static const struct ff_envelope empty_envelope;
switch (effect->type) {
- case FF_PERIODIC:
- return &effect->u.periodic.envelope;
- case FF_CONSTANT:
- return &effect->u.constant.envelope;
- default:
- return &empty_envelope;
+ case FF_PERIODIC:
+ return &effect->u.periodic.envelope;
+
+ case FF_CONSTANT:
+ return &effect->u.constant.envelope;
+
+ default:
+ return &empty_envelope;
}
}