spi/ppc4xx: Combine substrings for a message in spi_ppc4xx_of_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 13 Jan 2017 13:43:06 +0000 (14:43 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 Jan 2017 18:34:25 +0000 (18:34 +0000)
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>
drivers/spi/spi-ppc4xx.c

index dd3d0a2..b2df63c 100644 (file)
@@ -428,8 +428,9 @@ static int spi_ppc4xx_of_probe(struct platform_device *op)
                                /* Real CS - set the initial state. */
                                ret = gpio_request(gpio, np->name);
                                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;
                                }