[PATCH v2 2/3] mmc: sdhci-pltfm: dt device does not pass parent to sdhci_alloc_host

Sergei Shtylyov sshtylyov at mvista.com
Thu Jul 7 21:33:15 EST 2011


Hello.

On 05-07-2011 19:26, Shawn Guo wrote:

> Neither platform based nor dt based device needs to pass the parent
> to sdhci_alloc_host.  There is no difference between platform and dt
> on this point.

> The patch makes the change to pass device itself than its parent to

    Maybe "rather than"?

> sdhci_alloc_host for dt case too.  Otherwise the probe function of
> sdhci based drivers which is shared between platform and dt will
> fail on dt case.

> Signed-off-by: Shawn Guo<shawn.guo at linaro.org>
> Acked-by: Grant Likely<grant.likely at secretlab.ca>
> Cc: Chris Ball<cjb at laptop.org>

WBR, Sergei


More information about the devicetree-discuss mailing list