Browse Source

spi/ppc4xx: Combine substrings for a message in spi_ppc4xx_of_probe()

The script "checkpatch.pl" pointed information out like the following.

WARNING: quoted string split across lines

Thus fix the affected source code place.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Markus Elfring 8 years ago
parent
commit
ffcaef5ac2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      drivers/spi/spi-ppc4xx.c

+ 3 - 2
drivers/spi/spi-ppc4xx.c

@@ -428,8 +428,9 @@ static int spi_ppc4xx_of_probe(struct platform_device *op)
 				/* Real CS - set the initial state. */
 				/* Real CS - set the initial state. */
 				ret = gpio_request(gpio, np->name);
 				ret = gpio_request(gpio, np->name);
 				if (ret < 0) {
 				if (ret < 0) {
-					dev_err(dev, "can't request gpio "
-							"#%d: %d\n", i, ret);
+					dev_err(dev,
+						"can't request gpio #%d: %d\n",
+						i, ret);
 					goto free_gpios;
 					goto free_gpios;
 				}
 				}