aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/pxa2xx_spi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c
index d47d3636227f..59ae3ed16658 100644
--- a/drivers/spi/pxa2xx_spi.c
+++ b/drivers/spi/pxa2xx_spi.c
@@ -1407,9 +1407,9 @@ static int __init pxa2xx_spi_probe(struct platform_device *pdev)
1407 struct device *dev = &pdev->dev; 1407 struct device *dev = &pdev->dev;
1408 struct pxa2xx_spi_master *platform_info; 1408 struct pxa2xx_spi_master *platform_info;
1409 struct spi_master *master; 1409 struct spi_master *master;
1410 struct driver_data *drv_data = NULL; 1410 struct driver_data *drv_data;
1411 struct ssp_device *ssp; 1411 struct ssp_device *ssp;
1412 int status = 0; 1412 int status;
1413 1413
1414 platform_info = dev->platform_data; 1414 platform_info = dev->platform_data;
1415 1415
@@ -1422,7 +1422,7 @@ static int __init pxa2xx_spi_probe(struct platform_device *pdev)
1422 /* Allocate master with space for drv_data and null dma buffer */ 1422 /* Allocate master with space for drv_data and null dma buffer */
1423 master = spi_alloc_master(dev, sizeof(struct driver_data) + 16); 1423 master = spi_alloc_master(dev, sizeof(struct driver_data) + 16);
1424 if (!master) { 1424 if (!master) {
1425 dev_err(&pdev->dev, "can not alloc spi_master\n"); 1425 dev_err(&pdev->dev, "cannot alloc spi_master\n");
1426 ssp_free(ssp); 1426 ssp_free(ssp);
1427 return -ENOMEM; 1427 return -ENOMEM;
1428 } 1428 }
@@ -1458,7 +1458,7 @@ static int __init pxa2xx_spi_probe(struct platform_device *pdev)
1458 1458
1459 status = request_irq(ssp->irq, ssp_int, 0, dev->bus_id, drv_data); 1459 status = request_irq(ssp->irq, ssp_int, 0, dev->bus_id, drv_data);
1460 if (status < 0) { 1460 if (status < 0) {
1461 dev_err(&pdev->dev, "can not get IRQ\n"); 1461 dev_err(&pdev->dev, "cannot get IRQ %d\n", ssp->irq);
1462 goto out_error_master_alloc; 1462 goto out_error_master_alloc;
1463 } 1463 }
1464 1464