Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: iio: Fix typos in documentation

Spell-check wouln't catch these :)

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Amit Kucheria and committed by
Greg Kroah-Hartman
51bf00ae 727acb4f

+7 -6
+2 -2
drivers/staging/iio/Documentation/device.txt
··· 10 10 11 11 struct iio_dev *indio_dev = iio_allocate_device(); 12 12 13 - The fill in the following. 13 + Then fill in the following: 14 14 15 15 indio_dev->dev.parent 16 16 the struct device associated with the underlying hardware. ··· 45 45 be registered afterwards (otherwise the whole parentage of devices 46 46 gets confused) 47 47 48 - On remove iio_device_unregister(indio_dev) will remove the device from 48 + On remove, iio_device_unregister(indio_dev) will remove the device from 49 49 the core, and iio_free_device will clean up.
+5 -4
drivers/staging/iio/Documentation/overview.txt
··· 24 24 * Event chrdevs. These are similar to input in that they provide a 25 25 route to user space for hardware triggered events. Such events include 26 26 threshold detectors, free-fall detectors and more complex action 27 - detection. They events themselves are currently very simple with 27 + detection. The events themselves are currently very simple with 28 28 merely an event code and a timestamp. Any data associated with the 29 - event must be accessed via polling. Note a given device may have one 30 - or more event channel. These events are turned on or off (if possible) 31 - via sysfs interfaces. 29 + event must be accessed via polling. 30 + 31 + Note: A given device may have one or more event channel. These events are 32 + turned on or off (if possible) via sysfs interfaces. 32 33 33 34 * Hardware ring buffer support. Some recent sensors have included 34 35 fifo / ring buffers on the sensor chip. These greatly reduce the load