staging: iio: ad7746: Fix multiple line dereference
authorHernán Gonzalez <hernan@vanguardiasur.com.ar>
Fri, 13 Apr 2018 16:36:41 +0000 (13:36 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Apr 2018 15:06:38 +0000 (16:06 +0100)
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>
drivers/staging/iio/cdc/ad7746.c

index 516aa937cf7d6431a8398cc0c38d5b81b9fd6d39..6f5b924dc30e39b4160ad6c6737e3d624ab0072d 100644 (file)
@@ -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,
 };