diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-03 13:31:05 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-05 15:15:14 -0400 |
commit | 144c0f8833d0458e4369a27a53aea8856c665c41 (patch) | |
tree | fa0ee26cc25ea7deb2e5e11095ff77e115980bfa | |
parent | eb54ddd4d78e62647b7096e4ada7389dbdf2cea7 (diff) |
Input: fix a few typos
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r-- | drivers/input/input.c | 6 | ||||
-rw-r--r-- | include/linux/input.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index ab6982056518..acb3c8095c65 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -171,7 +171,7 @@ static int input_handle_abs_event(struct input_dev *dev, | |||
171 | if (code == ABS_MT_SLOT) { | 171 | if (code == ABS_MT_SLOT) { |
172 | /* | 172 | /* |
173 | * "Stage" the event; we'll flush it later, when we | 173 | * "Stage" the event; we'll flush it later, when we |
174 | * get actiual touch data. | 174 | * get actual touch data. |
175 | */ | 175 | */ |
176 | if (*pval >= 0 && *pval < dev->mtsize) | 176 | if (*pval >= 0 && *pval < dev->mtsize) |
177 | dev->slot = *pval; | 177 | dev->slot = *pval; |
@@ -188,7 +188,7 @@ static int input_handle_abs_event(struct input_dev *dev, | |||
188 | pold = &mtslot->abs[code - ABS_MT_FIRST]; | 188 | pold = &mtslot->abs[code - ABS_MT_FIRST]; |
189 | } else { | 189 | } else { |
190 | /* | 190 | /* |
191 | * Bypass filtering for multitouch events when | 191 | * Bypass filtering for multi-touch events when |
192 | * not employing slots. | 192 | * not employing slots. |
193 | */ | 193 | */ |
194 | pold = NULL; | 194 | pold = NULL; |
@@ -1601,7 +1601,7 @@ EXPORT_SYMBOL(input_free_device); | |||
1601 | * | 1601 | * |
1602 | * This function allocates all necessary memory for MT slot handling in the | 1602 | * This function allocates all necessary memory for MT slot handling in the |
1603 | * input device, and adds ABS_MT_SLOT to the device capabilities. All slots | 1603 | * input device, and adds ABS_MT_SLOT to the device capabilities. All slots |
1604 | * are initially marked as unused iby setting ABS_MT_TRACKING_ID to -1. | 1604 | * are initially marked as unused by setting ABS_MT_TRACKING_ID to -1. |
1605 | */ | 1605 | */ |
1606 | int input_mt_create_slots(struct input_dev *dev, unsigned int num_slots) | 1606 | int input_mt_create_slots(struct input_dev *dev, unsigned int num_slots) |
1607 | { | 1607 | { |
diff --git a/include/linux/input.h b/include/linux/input.h index 896a92227bc4..789265123531 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -67,7 +67,7 @@ struct input_absinfo { | |||
67 | #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */ | 67 | #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */ |
68 | #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */ | 68 | #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */ |
69 | 69 | ||
70 | #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global keystate */ | 70 | #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global key state */ |
71 | #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */ | 71 | #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */ |
72 | #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */ | 72 | #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */ |
73 | #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */ | 73 | #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */ |