Skip to content

Commit

Permalink
spi/ppc4xx: Combine substrings for a message in spi_ppc4xx_of_probe()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markus Elfring authored and Mark Brown committed Jan 17, 2017
1 parent fafd679 commit ffcaef5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/spi/spi-ppc4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ffcaef5

Please sign in to comment.