iio: mxs-lradc: fix some spelling errors
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 18 Jul 2015 12:30:42 +0000 (12:30 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Jul 2015 09:33:21 +0000 (10:33 +0100)
This patch fix some spelling errors in the comments.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/mxs-lradc.c

index 1ccb3676f2e5a7a8608e66f2e7d3f38480f7be25..386a44da72480035e8c85d2702d3973df7182600 100644 (file)
  * Once the pen touches the touchscreen, the touchscreen switches from
  * IRQ-driven mode to polling mode to prevent interrupt storm. The polling
  * is realized by worker thread, which is called every 20 or so milliseconds.
- * This gives the touchscreen enough fluence and does not strain the system
+ * This gives the touchscreen enough fluency and does not strain the system
  * too much.
  */
 #define LRADC_TS_SAMPLE_DELAY_MS       5
 
 /*
  * The LRADC reads the following amount of samples from each touchscreen
- * channel and the driver then computes avarage of these.
+ * channel and the driver then computes average of these.
  */
 #define LRADC_TS_SAMPLE_AMOUNT         4
 
@@ -238,7 +238,7 @@ struct mxs_lradc {
         * CH5 -- Touch screen YNLR
         * CH6 -- Touch screen WIPER (5-wire only)
         *
-        * The bitfields below represents which parts of the LRADC block are
+        * The bit fields below represents which parts of the LRADC block are
         * switched into special mode of operation. These channels can not
         * be sampled as regular LRADC channels. The driver will refuse any
         * attempt to sample these channels.
@@ -252,7 +252,7 @@ struct mxs_lradc {
        struct input_dev        *ts_input;
 
        enum mxs_lradc_id       soc;
-       enum lradc_ts_plate     cur_plate; /* statemachine */
+       enum lradc_ts_plate     cur_plate; /* state machine */
        bool                    ts_valid;
        unsigned                ts_x_pos;
        unsigned                ts_y_pos;
@@ -812,7 +812,7 @@ static int mxs_lradc_read_single(struct iio_dev *iio_dev, int chan, int *val)
        int ret;
 
        /*
-        * See if there is no buffered operation in progess. If there is, simply
+        * See if there is no buffered operation in progress. If there is, simply
         * bail out. This can be improved to support both buffered and raw IO at
         * the same time, yet the code becomes horribly complicated. Therefore I
         * applied KISS principle here.
This page took 0.026677 seconds and 5 git commands to generate.