From: sshtylyov@mvista.com (Sergei Shtylyov) Date: Thu, 07 Jul 2011 15:33:15 +0400 Subject: [PATCH v2 2/3] mmc: sdhci-pltfm: dt device does not pass parent to sdhci_alloc_host In-Reply-To: <1309879568-25837-3-git-send-email-shawn.guo@linaro.org> References: <1309879568-25837-1-git-send-email-shawn.guo@linaro.org> <1309879568-25837-3-git-send-email-shawn.guo@linaro.org> Message-ID: <4E15997B.6080804@mvista.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Acked-by: Grant Likely > Cc: Chris Ball WBR, Sergei