summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-08-31 12:08:13 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-03 19:41:00 +0100
commitf530f882463c046f851401fa4380cee3e523e0e3 (patch)
treed6e71531b5b0968624afba7b79ac1822092b61e1 /drivers/iio/accel
parent2b09b41dba04092fc198a5098908345f756db160 (diff)
downloadlinux-f530f882463c046f851401fa4380cee3e523e0e3.tar.bz2
iio: accel: bma220: Remove unneeded blank lines
There are few blank lines that split structure definitions with their users. Remove them to increase readability. While here, update copyright year. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200831090813.78841-8-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r--drivers/iio/accel/bma220_spi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/iio/accel/bma220_spi.c b/drivers/iio/accel/bma220_spi.c
index efdf22e0a23a..3c9b0c6954e6 100644
--- a/drivers/iio/accel/bma220_spi.c
+++ b/drivers/iio/accel/bma220_spi.c
@@ -2,7 +2,7 @@
/**
* BMA220 Digital triaxial acceleration sensor driver
*
- * Copyright (c) 2016, Intel Corporation.
+ * Copyright (c) 2016,2020 Intel Corporation.
*/
#include <linux/bits.h>
@@ -302,7 +302,6 @@ static __maybe_unused int bma220_resume(struct device *dev)
return bma220_read_reg(data->spi_device, BMA220_REG_SUSPEND);
}
-
static SIMPLE_DEV_PM_OPS(bma220_pm_ops, bma220_suspend, bma220_resume);
static const struct spi_device_id bma220_spi_id[] = {
@@ -314,7 +313,6 @@ static const struct acpi_device_id bma220_acpi_id[] = {
{"BMA0220", 0},
{}
};
-
MODULE_DEVICE_TABLE(spi, bma220_spi_id);
static struct spi_driver bma220_driver = {
@@ -327,7 +325,6 @@ static struct spi_driver bma220_driver = {
.remove = bma220_remove,
.id_table = bma220_spi_id,
};
-
module_spi_driver(bma220_driver);
MODULE_AUTHOR("Tiberiu Breana <tiberiu.a.breana@intel.com>");