Commit 5b958f11 authored by Hartmut Knaack's avatar Hartmut Knaack Committed by Jonathan Cameron

iio:light:stk3310: adjust indentation

Adjust some indentation issues as spotted by checkpatch.pl --strict
Signed-off-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Reviewed-by: default avatarTiberiu Breana <tiberiu.a.breana@intel.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 952c3aa3
...@@ -385,7 +385,7 @@ static int stk3310_write_raw(struct iio_dev *indio_dev, ...@@ -385,7 +385,7 @@ static int stk3310_write_raw(struct iio_dev *indio_dev,
ret = regmap_field_write(data->reg_ps_it, index); ret = regmap_field_write(data->reg_ps_it, index);
if (ret < 0) if (ret < 0)
dev_err(&data->client->dev, dev_err(&data->client->dev,
"sensor configuration failed\n"); "sensor configuration failed\n");
mutex_unlock(&data->lock); mutex_unlock(&data->lock);
return ret; return ret;
...@@ -402,7 +402,7 @@ static int stk3310_write_raw(struct iio_dev *indio_dev, ...@@ -402,7 +402,7 @@ static int stk3310_write_raw(struct iio_dev *indio_dev,
ret = regmap_field_write(data->reg_ps_gain, index); ret = regmap_field_write(data->reg_ps_gain, index);
if (ret < 0) if (ret < 0)
dev_err(&data->client->dev, dev_err(&data->client->dev,
"sensor configuration failed\n"); "sensor configuration failed\n");
mutex_unlock(&data->lock); mutex_unlock(&data->lock);
return ret; return ret;
} }
...@@ -645,7 +645,7 @@ static int stk3310_probe(struct i2c_client *client, ...@@ -645,7 +645,7 @@ static int stk3310_probe(struct i2c_client *client,
STK3310_EVENT, indio_dev); STK3310_EVENT, indio_dev);
if (ret < 0) { if (ret < 0) {
dev_err(&client->dev, "request irq %d failed\n", dev_err(&client->dev, "request irq %d failed\n",
client->irq); client->irq);
goto err_standby; goto err_standby;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment