]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging:iio:adxrs450: Don't split string across multiple lines
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 31 Jan 2013 14:27:00 +0000 (14:27 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 2 Feb 2013 09:22:31 +0000 (09:22 +0000)
This is one of the exceptions to the 80 chars per line rule since breaking the
string in half it badly affects the grep-ability.

Fixes the following checkpatch warning:
WARNING: quoted string split across lines
#203: FILE: staging/iio/gyro/adxrs450_core.c:203:
+ dev_warn(&st->us->dev, "The initial power on response "
+  "is not correct! Restart without reset?\n");

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/gyro/adxrs450_core.c

index dd0b7447d09811250b604d168f59dd102d451a2c..ea10f84cee17a7827405240a06d5c14fa36978d2 100644 (file)
@@ -199,8 +199,7 @@ static int adxrs450_initial_setup(struct iio_dev *indio_dev)
        if (ret)
                return ret;
        if (t != 0x01)
-               dev_warn(&st->us->dev, "The initial power on response "
-                        "is not correct! Restart without reset?\n");
+               dev_warn(&st->us->dev, "The initial power on response is not correct! Restart without reset?\n");
 
        msleep(ADXRS450_STARTUP_DELAY);
        ret = adxrs450_spi_initial(st, &t, 0);