Skip to contentSkip to conversation

input: ff-core: Fix spelling mistake in ff-core

PATCH New Dan Murphy 1 participant 1 message May 8, 2015

Subsystems (2)
lore
Share & tools
lore

Dan Murphy

author
#0 lore raw

PATCH 1/1 input: ff-core: Fix spelling mistake in ff-core

Fix spelling of magnitude
s/manginude/magnitude

---
 drivers/input/ff-core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/input/ff-core.c +1 -2
index b81c88c..d10154e 100644
@@ -70,12 +70,11 @@ static int compat_effect(struct ff_device *ff, struct ff_effect *effect)
 			return -EINVAL;
 
 		/*
-		 * calculate manginude of sine wave as average of rumble's
+		 * calculate magnitude of sine wave as average of rumble's
 		 * 2/3 of strong magnitude and 1/3 of weak magnitude
 		 */
 		magnitude = effect->u.rumble.strong_magnitude / 3 +
 			    effect->u.rumble.weak_magnitude / 6;
-
 		effect->type = FF_PERIODIC;
 		effect->u.periodic.waveform = FF_SINE;
 		effect->u.periodic.period = 50;
Signature · 1 line
1.9.1