summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/magnetometer
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2012-02-29 22:00:38 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-02 16:33:52 -0800
commit4abf6f8b29e37f492078173a9d4cb808ce327ec0 (patch)
treede11508f4da46792d75159752ed53eb456e91ac3 /drivers/staging/iio/magnetometer
parent92a6253299d74833a36edb94d5a4bc541418b17a (diff)
drivers:staging:iio Fix typos and comments in staging iio.
The below patch fixes some comments and some typos that I have found while reading drivers/staging/iio/* Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/magnetometer')
-rw-r--r--drivers/staging/iio/magnetometer/hmc5843.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/iio/magnetometer/hmc5843.c b/drivers/staging/iio/magnetometer/hmc5843.c
index d24992ceb2b0..91dd3da70cb4 100644
--- a/drivers/staging/iio/magnetometer/hmc5843.c
+++ b/drivers/staging/iio/magnetometer/hmc5843.c
@@ -86,7 +86,7 @@
#define RATE_NOT_USED 0x07
/*
- * Device Configutration
+ * Device Configuration
*/
#define CONF_NORMAL 0x00
#define CONF_POSITIVE_BIAS 0x01
@@ -142,7 +142,7 @@ static s32 hmc5843_configure(struct i2c_client *client,
(operating_mode & 0x03));
}
-/* Return the measurement value from the specified channel */
+/* Return the measurement value from the specified channel */
static int hmc5843_read_measurement(struct iio_dev *indio_dev,
int address,
int *val)
@@ -169,7 +169,7 @@ static int hmc5843_read_measurement(struct iio_dev *indio_dev,
/*
* From the datasheet
* 0 - Continuous-Conversion Mode: In continuous-conversion mode, the
- * device continuously performs conversions an places the result in the
+ * device continuously performs conversions and places the result in the
* data register.
*
* 1 - Single-Conversion Mode : device performs a single measurement,