aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/ff-core.c
diff options
context:
space:
mode:
authorBaodong Chen <chenbdchenbd@gmail.com>2012-07-29 22:33:03 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-08-21 22:29:49 -0700
commit41091ad0b8f843d36390058362c8f3c52a26a333 (patch)
treed815c4202c6ae189cdd881228580451e4aec6e22 /drivers/input/ff-core.c
parentInput: twl4030-pwrbutton - report a wakeup_event on button press (diff)
downloadlinux-dev-41091ad0b8f843d36390058362c8f3c52a26a333.tar.xz
linux-dev-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-core.c')
-rw-r--r--drivers/input/ff-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/ff-core.c b/drivers/input/ff-core.c
index 480eb9d9876a..f50f6dd92274 100644
--- a/drivers/input/ff-core.c
+++ b/drivers/input/ff-core.c
@@ -138,8 +138,8 @@ int input_ff_upload(struct input_dev *dev, struct ff_effect *effect,
if (effect->id == -1) {
for (id = 0; id < ff->max_effects; id++)
- if (!ff->effect_owners[id])
- break;
+ if (!ff->effect_owners[id])
+ break;
if (id >= ff->max_effects) {
ret = -ENOSPC;