diff options
author | Kevin Hao <haokexin@gmail.com> | 2015-02-04 09:33:53 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-03-23 16:13:44 +0300 |
commit | 5ec358201eceaf599b0f35bd60ed8be3c4752e37 (patch) | |
tree | 17514bfb493d4e10e6f517a2998fdc1bcb1aceec /drivers/mmc/host/sdhci.h | |
parent | 01df7ecd90e94186f9a736a1c58b56e23830f061 (diff) | |
download | linux-5ec358201eceaf599b0f35bd60ed8be3c4752e37.tar.xz |
mmc: sdhci-pltfm: remove the unneeded check of disabled device
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, 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>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
0 files changed, 0 insertions, 0 deletions