Merge remote-tracking branch 'spi/topic/rspi' into spi-next
This commit is contained in:
Коммит
121a39661b
|
@ -726,7 +726,7 @@ static void rspi_release_dma(struct rspi_data *rspi)
|
||||||
|
|
||||||
static int rspi_remove(struct platform_device *pdev)
|
static int rspi_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct rspi_data *rspi = platform_get_drvdata(pdev);
|
struct rspi_data *rspi = spi_master_get(platform_get_drvdata(pdev));
|
||||||
|
|
||||||
spi_unregister_master(rspi->master);
|
spi_unregister_master(rspi->master);
|
||||||
rspi_release_dma(rspi);
|
rspi_release_dma(rspi);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче