diff options
author | Baodong Chen <chenbdchenbd@gmail.com> | 2012-07-29 22:33:03 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-08-21 22:29:49 -0700 |
commit | 41091ad0b8f843d36390058362c8f3c52a26a333 (patch) | |
tree | d815c4202c6ae189cdd881228580451e4aec6e22 /drivers/input/ff-memless.c | |
parent | 112b51cfa21714d001e5b3e3f7c1f13146906a5d (diff) | |
download | linux-stable-41091ad0b8f843d36390058362c8f3c52a26a333.tar.gz linux-stable-41091ad0b8f843d36390058362c8f3c52a26a333.tar.bz2 linux-stable-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.c | 14 |
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; } } |