diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-01-13 08:14:45 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-17 13:28:19 -0500 |
commit | 9c4f0440ba8f3ad57bebb46cfa29a18333fe4860 (patch) | |
tree | 6410c8f5addfec8685f6cdc82375dd194c815f98 | |
parent | 8b6c8955b5dc21358cb1f67cadc5514d2353375d (diff) |
spi/mpc52xx: Combine substrings for two messages
The script "checkpatch.pl" pointed information out like the following.
WARNING: quoted string split across lines
Thus fix the affected source code places.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-mpc52xx.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/spi/spi-mpc52xx.c b/drivers/spi/spi-mpc52xx.c index 8cc129efe7ba..e8b59ce4dc3a 100644 --- a/drivers/spi/spi-mpc52xx.c +++ b/drivers/spi/spi-mpc52xx.c | |||
@@ -449,8 +449,7 @@ static int mpc52xx_spi_probe(struct platform_device *op) | |||
449 | gpio_cs = of_get_gpio(op->dev.of_node, i); | 449 | gpio_cs = of_get_gpio(op->dev.of_node, i); |
450 | if (gpio_cs < 0) { | 450 | if (gpio_cs < 0) { |
451 | dev_err(&op->dev, | 451 | dev_err(&op->dev, |
452 | "could not parse the gpio field " | 452 | "could not parse the gpio field in oftree\n"); |
453 | "in oftree\n"); | ||
454 | rc = -ENODEV; | 453 | rc = -ENODEV; |
455 | goto err_gpio; | 454 | goto err_gpio; |
456 | } | 455 | } |
@@ -458,8 +457,8 @@ static int mpc52xx_spi_probe(struct platform_device *op) | |||
458 | rc = gpio_request(gpio_cs, dev_name(&op->dev)); | 457 | rc = gpio_request(gpio_cs, dev_name(&op->dev)); |
459 | if (rc) { | 458 | if (rc) { |
460 | dev_err(&op->dev, | 459 | dev_err(&op->dev, |
461 | "can't request spi cs gpio #%d " | 460 | "can't request spi cs gpio #%d on gpio line %d\n", |
462 | "on gpio line %d\n", i, gpio_cs); | 461 | i, gpio_cs); |
463 | goto err_gpio; | 462 | goto err_gpio; |
464 | } | 463 | } |
465 | 464 | ||