]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iio staging: fix typos in tsl*: register
authorPeter Meerwald <pmeerw@pmeerw.net>
Mon, 18 Jun 2012 18:33:06 +0000 (20:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jun 2012 00:29:28 +0000 (17:29 -0700)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/light/tsl2583.c
drivers/staging/iio/light/tsl2x7x_core.c

index 5e23ad5a30d5dbe302834c10961ca37e89b732eb..6d2f4c659e565825e629b9399f40769facb93f88 100644 (file)
@@ -410,7 +410,7 @@ static int taos_chip_on(struct iio_dev *indio_dev)
                return -EINVAL;
        }
 
-       /* determine als integration regster */
+       /* determine als integration register */
        als_count = (chip->taos_settings.als_time * 100 + 135) / 270;
        if (als_count == 0)
                als_count = 1; /* ensure at least one cycle */
index 040da4acc66e3429ee212b5ba3f3d564921d0437..fdf75e45428cc8269bcbbd80441b1cb34223c261 100755 (executable)
@@ -736,7 +736,7 @@ static int tsl2x7x_chip_on(struct iio_dev *indio_dev)
                return -EINVAL;
        }
 
-       /* determine als integration regster */
+       /* determine als integration register */
        als_count = (chip->tsl2x7x_settings.als_time * 100 + 135) / 270;
        if (als_count == 0)
                als_count = 1; /* ensure at least one cycle */