Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1611920 > unrolled thread
| Started by | Adrian Hunter <adrian.hunter@intel.com> |
|---|---|
| First post | 2017-03-29 15:20 +0200 |
| Last post | 2017-03-29 15:20 +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.
Re: [v5 4/4] mmc: sdhci-cadence: refactor probe function Adrian Hunter <adrian.hunter@intel.com> - 2017-03-29 15:20 +0200
| From | Adrian Hunter <adrian.hunter@intel.com> |
|---|---|
| Date | 2017-03-29 15:20 +0200 |
| Subject | Re: [v5 4/4] mmc: sdhci-cadence: refactor probe function |
| Message-ID | <tqlG1-7mo-3@gated-at.bofh.it> |
On 21/03/17 16:33, Piotr Sroka wrote: > Use added dev variable for devm_clk_get. > > Signed-off-by: Piotr Sroka <piotrs@cadence.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> > --- > 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); > >
Back to top | Article view | linux.kernel
csiph-web