Skip to content

Commit 2546bcc

Browse files
committed
Input: input-polldev - fix a couple of typos
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
1 parent aebd636 commit 2546bcc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/input/input-polldev.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static struct attribute_group input_polldev_attribute_group = {
192192
};
193193

194194
/**
195-
* input_allocate_polled_device - allocated memory polled device
195+
* input_allocate_polled_device - allocate memory for polled device
196196
*
197197
* The function allocates memory for a polled device and also
198198
* for an input device associated with this polled device.
@@ -239,7 +239,7 @@ EXPORT_SYMBOL(input_free_polled_device);
239239
* with input layer. The device should be allocated with call to
240240
* input_allocate_polled_device(). Callers should also set up poll()
241241
* method and set up capabilities (id, name, phys, bits) of the
242-
* corresponing input_dev structure.
242+
* corresponding input_dev structure.
243243
*/
244244
int input_register_polled_device(struct input_polled_dev *dev)
245245
{

‎include/linux/input-polldev.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
* @poll: driver-supplied method that polls the device and posts
2323
* input events (mandatory).
2424
* @poll_interval: specifies how often the poll() method should be called.
25-
* Defaults to 500 msec unless overriden when registering the device.
25+
* Defaults to 500 msec unless overridden when registering the device.
2626
* @poll_interval_max: specifies upper bound for the poll interval.
2727
* Defaults to the initial value of @poll_interval.
2828
* @poll_interval_min: specifies lower bound for the poll interval.
2929
* Defaults to 0.
30-
* @input: input device structire associated with the polled device.
30+
* @input: input device structure associated with the polled device.
3131
* Must be properly initialized by the driver (id, name, phys, bits).
3232
*
3333
* Polled input device provides a skeleton for supporting simple input

0 commit comments

Comments
 (0)