aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-01-31 09:27:00 -0500
committerJonathan Cameron <jic23@kernel.org>2013-02-02 04:22:31 -0500
commit457b71df27e4e6125b6627ad3d4ae1da023fc908 (patch)
treefb32790777585cfe28377f92a92b1a10a5a0011a
parent1439b6e8d1a1b158c11ecf398dd9bf3fcceb4861 (diff)
staging:iio:adxrs450: Don't split string across multiple lines
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>
-rw-r--r--drivers/staging/iio/gyro/adxrs450_core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/iio/gyro/adxrs450_core.c b/drivers/staging/iio/gyro/adxrs450_core.c
index dd0b7447d098..ea10f84cee17 100644
--- a/drivers/staging/iio/gyro/adxrs450_core.c
+++ b/drivers/staging/iio/gyro/adxrs450_core.c
@@ -199,8 +199,7 @@ static int adxrs450_initial_setup(struct iio_dev *indio_dev)
199 if (ret) 199 if (ret)
200 return ret; 200 return ret;
201 if (t != 0x01) 201 if (t != 0x01)
202 dev_warn(&st->us->dev, "The initial power on response " 202 dev_warn(&st->us->dev, "The initial power on response is not correct! Restart without reset?\n");
203 "is not correct! Restart without reset?\n");
204 203
205 msleep(ADXRS450_STARTUP_DELAY); 204 msleep(ADXRS450_STARTUP_DELAY);
206 ret = adxrs450_spi_initial(st, &t, 0); 205 ret = adxrs450_spi_initial(st, &t, 0);