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>
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.
*/
* @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
* 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.
*/
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);