summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehdi Djait <mehdi.djait.k@gmail.com>2023-09-16 15:38:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-17 12:37:36 +0300
commitcfdb1e2875321bdda0a8f0246bcf1d3cbfdd0b09 (patch)
treef189b9b24678726aee54caae45da6640fee928cc
parent377dddbe53b941fdc4babbf177c47659de68eeef (diff)
downloadlinux-cfdb1e2875321bdda0a8f0246bcf1d3cbfdd0b09.tar.xz
iio: accel: kionix-kx022a: Remove blank lines
Remove blank lines pointed out by the checkpatch script Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by: Mehdi Djait <mehdi.djait.k@gmail.com> Link: https://lore.kernel.org/r/3489099f653491e97b13b8f19fe86635b03020c8.1694867379.git.mehdi.djait.k@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/accel/kionix-kx022a.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/accel/kionix-kx022a.c b/drivers/iio/accel/kionix-kx022a.c
index f164b09520c9..2f1e7da25460 100644
--- a/drivers/iio/accel/kionix-kx022a.c
+++ b/drivers/iio/accel/kionix-kx022a.c
@@ -341,7 +341,6 @@ static int kx022a_turn_on_off_unlocked(struct kx022a_data *data, bool on)
dev_err(data->dev, "Turn %s fail %d\n", str_on_off(on), ret);
return ret;
-
}
static int kx022a_turn_off_lock(struct kx022a_data *data)
@@ -1110,7 +1109,6 @@ int kx022a_probe_internal(struct device *dev)
if (ret)
return dev_err_probe(data->dev, ret, "Could not request IRQ\n");
-
ret = devm_iio_trigger_register(dev, indio_trig);
if (ret)
return dev_err_probe(data->dev, ret,