Merge tag 'v3.6-rc6' into spi-drivers
Linux 3.6-rc6 Conflicts: drivers/spi/spi-omap2-mcspi.c
This commit is contained in:
@@ -1260,18 +1260,16 @@ static int __devinit omap2_mcspi_probe(struct platform_device *pdev)
|
||||
|
||||
status = spi_register_master(master);
|
||||
if (status < 0)
|
||||
goto err_spi_register;
|
||||
goto disable_pm;
|
||||
|
||||
return status;
|
||||
|
||||
err_spi_register:
|
||||
spi_master_put(master);
|
||||
disable_pm:
|
||||
pm_runtime_disable(&pdev->dev);
|
||||
dma_chnl_free:
|
||||
kfree(mcspi->dma_channels);
|
||||
free_master:
|
||||
kfree(master);
|
||||
spi_master_put(master);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user