diff options
author | Mark Brown <broonie@linaro.org> | 2013-10-25 09:51:21 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-25 09:51:21 +0100 |
commit | 52d85ebb7b639448e596a8577bf981f5b139f4fd (patch) | |
tree | 7632999ecf194b9863ad4a86533a91b9f78a28ce /drivers/spi/spi-bfin-v3.c | |
parent | 2ef2e60d2f4d470b0cb591baeaf942316c0673ed (diff) | |
parent | db9371b853e7cebce93f0775215ef297b8d0bf93 (diff) | |
download | blackbird-op-linux-52d85ebb7b639448e596a8577bf981f5b139f4fd.tar.gz blackbird-op-linux-52d85ebb7b639448e596a8577bf981f5b139f4fd.zip |
Merge remote-tracking branch 'spi/topic/bfin' into spi-next
Diffstat (limited to 'drivers/spi/spi-bfin-v3.c')
-rw-r--r-- | drivers/spi/spi-bfin-v3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-bfin-v3.c b/drivers/spi/spi-bfin-v3.c index f4bf81347d68..8f8598834b30 100644 --- a/drivers/spi/spi-bfin-v3.c +++ b/drivers/spi/spi-bfin-v3.c @@ -867,7 +867,7 @@ static int bfin_spi_probe(struct platform_device *pdev) tasklet_init(&drv_data->pump_transfers, bfin_spi_pump_transfers, (unsigned long)drv_data); /* register with the SPI framework */ - ret = spi_register_master(master); + ret = devm_spi_register_master(dev, master); if (ret) { dev_err(dev, "can not register spi master\n"); goto err_free_peripheral; @@ -898,7 +898,6 @@ static int bfin_spi_remove(struct platform_device *pdev) free_dma(drv_data->rx_dma); free_dma(drv_data->tx_dma); - spi_unregister_master(drv_data->master); return 0; } |