]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
iio:light:stk3310: adjust indentation
authorHartmut Knaack <knaack.h@gmx.de>
Thu, 9 Jul 2015 21:51:33 +0000 (23:51 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 12 Aug 2015 21:17:23 +0000 (22:17 +0100)
Adjust some indentation issues as spotted by checkpatch.pl --strict

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Reviewed-by: Tiberiu Breana <tiberiu.a.breana@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/stk3310.c

index e5e0b045ebc23cc2877f84e0489f32a37375c978..25c6a715545a8a109e79c4a8b55d552a2a4e125c 100644 (file)
@@ -385,7 +385,7 @@ static int stk3310_write_raw(struct iio_dev *indio_dev,
                        ret = regmap_field_write(data->reg_ps_it, index);
                if (ret < 0)
                        dev_err(&data->client->dev,
-                                       "sensor configuration failed\n");
+                               "sensor configuration failed\n");
                mutex_unlock(&data->lock);
                return ret;
 
@@ -402,7 +402,7 @@ static int stk3310_write_raw(struct iio_dev *indio_dev,
                        ret = regmap_field_write(data->reg_ps_gain, index);
                if (ret < 0)
                        dev_err(&data->client->dev,
-                                       "sensor configuration failed\n");
+                               "sensor configuration failed\n");
                mutex_unlock(&data->lock);
                return ret;
        }
@@ -645,7 +645,7 @@ static int stk3310_probe(struct i2c_client *client,
                                                STK3310_EVENT, indio_dev);
                if (ret < 0) {
                        dev_err(&client->dev, "request irq %d failed\n",
-                                       client->irq);
+                               client->irq);
                        goto err_standby;
                }
        }