Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1613399 > unrolled thread

Re: [v5 4/4] mmc: sdhci-cadence: refactor probe function

Started byUlf Hansson <ulf.hansson@linaro.org>
First post2017-03-30 21:40 +0200
Last post2017-03-30 21:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [v5 4/4] mmc: sdhci-cadence: refactor probe function Ulf Hansson <ulf.hansson@linaro.org> - 2017-03-30 21:40 +0200

#1613399 — Re: [v5 4/4] mmc: sdhci-cadence: refactor probe function

FromUlf Hansson <ulf.hansson@linaro.org>
Date2017-03-30 21:40 +0200
SubjectRe: [v5 4/4] mmc: sdhci-cadence: refactor probe function
Message-ID<tqO5l-2G9-43@gated-at.bofh.it>
On 21 March 2017 at 15:33, Piotr Sroka <piotrs@cadence.com> wrote:
> Use added dev variable for devm_clk_get.
>
> Signed-off-by: Piotr Sroka <piotrs@cadence.com>


Thanks, applied for next!

Kind regards
Uffe


> ---
> Changes for v5:
> - patch created in v5
> ---
>  drivers/mmc/host/sdhci-cadence.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-cadence.c b/drivers/mmc/host/sdhci-cadence.c
> index c3c7090..5aa238d 100644
> --- a/drivers/mmc/host/sdhci-cadence.c
> +++ b/drivers/mmc/host/sdhci-cadence.c
> @@ -305,7 +305,7 @@ static int sdhci_cdns_probe(struct platform_device *pdev)
>         int ret;
>         struct device *dev = &pdev->dev;
>
> -       clk = devm_clk_get(&pdev->dev, NULL);
> +       clk = devm_clk_get(dev, NULL);
>         if (IS_ERR(clk))
>                 return PTR_ERR(clk);
>
> --
> 2.2.2
>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web