Commit 457b71df authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Jonathan Cameron

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: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 1439b6e8
...@@ -199,8 +199,7 @@ static int adxrs450_initial_setup(struct iio_dev *indio_dev) ...@@ -199,8 +199,7 @@ static int adxrs450_initial_setup(struct iio_dev *indio_dev)
if (ret) if (ret)
return ret; return ret;
if (t != 0x01) if (t != 0x01)
dev_warn(&st->us->dev, "The initial power on response " dev_warn(&st->us->dev, "The initial power on response is not correct! Restart without reset?\n");
"is not correct! Restart without reset?\n");
msleep(ADXRS450_STARTUP_DELAY); msleep(ADXRS450_STARTUP_DELAY);
ret = adxrs450_spi_initial(st, &t, 0); ret = adxrs450_spi_initial(st, &t, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment