]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iio:potentiostat:lmp91000: reduce line width and remove blank line
authorAnderson Reis <andersonreisrosa@gmail.com>
Fri, 8 Mar 2019 19:46:53 +0000 (16:46 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:55 +0000 (20:19 +0100)
Break the line 258 in order fit the line width on 80 characters. Remove
the blank line 279, as the line before is also a blank line. Solve these
checkpath.el WARNING and CHECK:

- lmp91000.c:258: WARNING: line over 80 characters
- lmp91000.c:279: CHECK: Please don't use multiple blank lines

Signed-off-by: Lucas Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: Anderson Reis <andersonreisrosa@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/potentiostat/lmp91000.c

index 03d277621861b538bd117ac1815b3e0973fe3629..c45cfb632649fa28736b56557f096151dc2a0911 100644 (file)
@@ -255,8 +255,8 @@ static int lmp91000_read_config(struct lmp91000_data *data)
 
        regmap_write(data->regmap, LMP91000_REG_LOCK, 0);
        regmap_write(data->regmap, LMP91000_REG_TIACN, reg);
-       regmap_write(data->regmap, LMP91000_REG_REFCN, LMP91000_REG_REFCN_EXT_REF
-                                       | LMP91000_REG_REFCN_50_ZERO);
+       regmap_write(data->regmap, LMP91000_REG_REFCN,
+                    LMP91000_REG_REFCN_EXT_REF | LMP91000_REG_REFCN_50_ZERO);
        regmap_write(data->regmap, LMP91000_REG_LOCK, 1);
 
        return 0;
@@ -276,7 +276,6 @@ static int lmp91000_buffer_cb(const void *val, void *private)
 static const struct iio_trigger_ops lmp91000_trigger_ops = {
 };
 
-
 static int lmp91000_buffer_preenable(struct iio_dev *indio_dev)
 {
        struct lmp91000_data *data = iio_priv(indio_dev);