Input: fix a few typos

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Dmitry Torokhov 2010-09-03 10:31:05 -07:00
parent eb54ddd4d7
commit 144c0f8833
2 changed files with 4 additions and 4 deletions

View file

@ -171,7 +171,7 @@ static int input_handle_abs_event(struct input_dev *dev,
if (code == ABS_MT_SLOT) { if (code == ABS_MT_SLOT) {
/* /*
* "Stage" the event; we'll flush it later, when we * "Stage" the event; we'll flush it later, when we
* get actiual touch data. * get actual touch data.
*/ */
if (*pval >= 0 && *pval < dev->mtsize) if (*pval >= 0 && *pval < dev->mtsize)
dev->slot = *pval; dev->slot = *pval;
@ -188,7 +188,7 @@ static int input_handle_abs_event(struct input_dev *dev,
pold = &mtslot->abs[code - ABS_MT_FIRST]; pold = &mtslot->abs[code - ABS_MT_FIRST];
} else { } else {
/* /*
* Bypass filtering for multitouch events when * Bypass filtering for multi-touch events when
* not employing slots. * not employing slots.
*/ */
pold = NULL; pold = NULL;
@ -1601,7 +1601,7 @@ EXPORT_SYMBOL(input_free_device);
* *
* This function allocates all necessary memory for MT slot handling in the * This function allocates all necessary memory for MT slot handling in the
* input device, and adds ABS_MT_SLOT to the device capabilities. All slots * input device, and adds ABS_MT_SLOT to the device capabilities. All slots
* are initially marked as unused iby setting ABS_MT_TRACKING_ID to -1. * are initially marked as unused by setting ABS_MT_TRACKING_ID to -1.
*/ */
int input_mt_create_slots(struct input_dev *dev, unsigned int num_slots) int input_mt_create_slots(struct input_dev *dev, unsigned int num_slots)
{ {

View file

@ -67,7 +67,7 @@ struct input_absinfo {
#define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */ #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */
#define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */ #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */
#define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global keystate */ #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global key state */
#define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */ #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */
#define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */ #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */
#define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */ #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */