linux/drivers/mmc
Kevin Hao 5ec358201e mmc: sdhci-pltfm: remove the unneeded check of disabled device
Since commit cd1e65044d ("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, it just doesn't parse
the dtb for the infos such as quirks or clock, but it will continue
to try to init the disabled device after that check. So just remove it.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2015-03-23 14:13:44 +01:00
..
card mmc: block: Remove unnecessary temporary variable 2015-01-28 12:32:17 +01:00
core mmc: pwrseq: simplify alloc/free hooks 2015-03-23 14:13:42 +01:00
host mmc: sdhci-pltfm: remove the unneeded check of disabled device 2015-03-23 14:13:44 +01:00
Kconfig
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00