Re: [PATCH] mmc: sdhci-pltfm: remove the unneeded check of disabled device

2015-03-05 Thread Ulf Hansson
On 4 February 2015 at 07:33, Kevin Hao wrote: > Since commit cd1e65044d44 ("of/device: Don't register disabled > devices"), the disabled device will not be registered at all. So > we don't need to do the check again in the platform device driver. > > And the check in the current code is useless ev

[PATCH] mmc: sdhci-pltfm: remove the unneeded check of disabled device

2015-02-03 Thread Kevin Hao
Since commit cd1e65044d44 ("of/device: Don't register disabled devices"), the disabled device will not be registered at all. So we don't need to do the check again in the platform device driver. And the check in the current code is useless even if we really run into a disabled device. In this case