diff options
| -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 | ||
