Skip to content

Commit 1787948

Browse files
Peter Meerwaldgregkh
authored andcommitted
iio: fix typos in iio.h
v2: * "used in in-kernel" (Jonathan Cameron) Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 8b417d7 commit 1787948

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/linux/iio/iio.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ struct iio_chan_spec_ext_info {
131131

132132
/**
133133
* struct iio_enum - Enum channel info attribute
134-
* items: A array of strings.
134+
* items: An array of strings.
135135
* num_items: Length of the item array.
136136
* set: Set callback function, may be NULL.
137137
* get: Get callback function, may be NULL.
@@ -218,7 +218,7 @@ ssize_t iio_enum_write(struct iio_dev *indio_dev,
218218
* @extend_name: Allows labeling of channel attributes with an
219219
* informative name. Note this has no effect codes etc,
220220
* unlike modifiers.
221-
* @datasheet_name: A name used in in kernel mapping of channels. It should
221+
* @datasheet_name: A name used in in-kernel mapping of channels. It should
222222
* correspond to the first name that the channel is referred
223223
* to by in the datasheet (e.g. IND), or the nearest
224224
* possible compound name (e.g. IND-INC).
@@ -393,7 +393,7 @@ struct iio_buffer_setup_ops {
393393
* @trig: [INTERN] current device trigger (buffer modes)
394394
* @pollfunc: [DRIVER] function run on trigger being received
395395
* @channels: [DRIVER] channel specification structure table
396-
* @num_channels: [DRIVER] number of chanels specified in @channels.
396+
* @num_channels: [DRIVER] number of channels specified in @channels.
397397
* @channel_attr_list: [INTERN] keep track of automatically created channel
398398
* attributes
399399
* @chan_attr_group: [INTERN] group for all attrs in base directory

0 commit comments

Comments
 (0)