summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHernán Gonzalez <hernan@vanguardiasur.com.ar>2018-04-13 18:36:41 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-15 17:06:38 +0200
commitc9aff39fa1792a94940d60510a703eb05a7a113a (patch)
treecb2900cf68ff5ed47a091f0eab5f331ec0e118bd
parentstaging: iio: ad7746: Adjust arguments to match open parenthesis (diff)
downloadlinux-c9aff39fa1792a94940d60510a703eb05a7a113a.tar.xz
linux-c9aff39fa1792a94940d60510a703eb05a7a113a.zip
staging: iio: ad7746: Fix multiple line dereference
Clear checkpatch.pl WARNING about multiple line derefence but creates a new one of line over 80 characters. In my opinion, it improves readability. Signed-off-by: Hernán Gonzalez <hernan@vanguardiasur.com.ar> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/staging/iio/cdc/ad7746.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c
index 516aa937cf7d..6f5b924dc30e 100644
--- a/drivers/staging/iio/cdc/ad7746.c
+++ b/drivers/staging/iio/cdc/ad7746.c
@@ -410,8 +410,7 @@ static struct attribute *ad7746_attributes[] = {
&iio_dev_attr_in_capacitance1_calibbias_calibration.dev_attr.attr,
&iio_dev_attr_in_voltage0_calibscale_calibration.dev_attr.attr,
&iio_const_attr_in_voltage_sampling_frequency_available.dev_attr.attr,
- &iio_const_attr_in_capacitance_sampling_frequency_available.
- dev_attr.attr,
+ &iio_const_attr_in_capacitance_sampling_frequency_available.dev_attr.attr,
NULL,
};