Message ID | 1392946396.11510.1.camel@phoenix (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Fri, Feb 21, 2014 at 09:33:16AM +0800, Axel Lin wrote: > This driver uses devm_spi_register_master() so don't explicitly call > spi_master_put() in spi_qup_remove(). Applied both, thanks.
diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index b0bcc09..5edc56f 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -802,7 +802,6 @@ static int spi_qup_remove(struct platform_device *pdev) pm_runtime_put_noidle(&pdev->dev); pm_runtime_disable(&pdev->dev); - spi_master_put(master); return 0; }
This driver uses devm_spi_register_master() so don't explicitly call spi_master_put() in spi_qup_remove(). Signed-off-by: Axel Lin <axel.lin@ingics.com> --- drivers/spi/spi-qup.c | 1 - 1 file changed, 1 deletion(-)