Re: [PATCH 1/2] spi: dup: Remove spi_master_put in spi_qup_remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just found the subject line is wrong...
Should be spi:qup rather than spi:dup.
I'm going to resend this patch serial.

2014-02-21 9:11 GMT+08:00 Axel Lin <axel.lin@xxxxxxxxxx>:
> 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@xxxxxxxxxx>
> ---
>  drivers/spi/spi-qup.c | 1 -
>  1 file changed, 1 deletion(-)
>
> 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;
>  }
>
> --
> 1.8.1.2
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux