mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 07:51:31 -04:00
iio: pressure: fix spelling mistakes in comments
Fix several spelling mistakes in comments. - opertion -> operations - transfered -> transferred - usng -> using - externaly -> externally Signed-off-by: Shi Hao <i.shihao.999@gmail.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
2354338cc8
commit
896b6508ac
@@ -47,7 +47,7 @@ static int bmp380_regmap_spi_read(void *context, const void *reg,
|
||||
return -EINVAL;
|
||||
|
||||
/*
|
||||
* According to the BMP3xx datasheets, for a basic SPI read opertion,
|
||||
* According to the BMP3xx datasheets, for a basic SPI read operation,
|
||||
* the first byte needs to be dropped and the rest are the requested
|
||||
* data.
|
||||
*/
|
||||
|
||||
@@ -273,7 +273,7 @@ static const struct hsc_range_config hsc_range_config[HSC_VARIANTS_MAX] = {
|
||||
* @data: structure containing instantiated sensor data
|
||||
* Return: true only if both status bits are zero
|
||||
*
|
||||
* the two MSB from the first transfered byte contain a status code
|
||||
* The two MSB from the first transferred byte contain a status code
|
||||
* 00 - normal operation, valid data
|
||||
* 01 - device in factory programming mode
|
||||
* 10 - stale data
|
||||
|
||||
@@ -440,7 +440,7 @@ static int bm1390_fifo_flush(struct iio_dev *idev, unsigned int samples)
|
||||
* the timestamps. If we are ran from IRQ, then the
|
||||
* IRQF_ONESHOT has us covered - but if we are ran by the
|
||||
* user-space read we need to disable the IRQ to be on a safe
|
||||
* side. We do this usng synchronous disable so that if the
|
||||
* side. We do this using synchronous disable so that if the
|
||||
* IRQ thread is being ran on other CPU we wait for it to be
|
||||
* finished.
|
||||
*/
|
||||
|
||||
@@ -840,7 +840,7 @@ static irqreturn_t zpa2326_handle_threaded_irq(int irq, void *data)
|
||||
|
||||
complete:
|
||||
/*
|
||||
* Wake up direct or externaly triggered buffer mode waiters: see
|
||||
* Wake up direct or externally triggered buffer mode waiters: see
|
||||
* zpa2326_sample_oneshot() and zpa2326_trigger_handler().
|
||||
*/
|
||||
complete(&priv->data_ready);
|
||||
|
||||
Reference in New Issue
Block a user