mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
iio: cdc: fix spelling mistakes in comments
Fix spelling mistakes in comments. - becaue -> because - reenable -> re-enable - irq's -> IRQs Signed-off-by: Shi Hao <i.shihao.999@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
1a18c847c8
commit
1011a6bd86
|
|
@ -306,7 +306,7 @@ static int ad7150_write_event_config(struct iio_dev *indio_dev,
|
|||
dir);
|
||||
if (ret)
|
||||
goto error_ret;
|
||||
/* reenable any irq's we disabled whilst changing mode */
|
||||
/* re-enable any IRQs we disabled whilst changing mode */
|
||||
enable_irq(chip->interrupts[0]);
|
||||
enable_irq(chip->interrupts[1]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -606,7 +606,7 @@ static int ad7746_read_channel(struct iio_dev *indio_dev,
|
|||
return ret;
|
||||
|
||||
/*
|
||||
* Offset applied internally becaue the _offset userspace interface is
|
||||
* Offset applied internally because the _offset userspace interface is
|
||||
* needed for the CAP DACs which apply a controllable offset.
|
||||
*/
|
||||
*val = get_unaligned_be24(data) - 0x800000;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user