diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-01-10 16:10:52 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-02-13 13:20:15 +0100 |
commit | efd7be7bfc8eb8942ba3dc319f323cfd0eda99e2 (patch) | |
tree | 382c8e9aa10afc9aab1bf7c5470c7c458f8a32f7 /Documentation/vfio.txt | |
parent | e87d2db2a2b534dad7ac0000c597b561c160880d (diff) |
mmc: tmio: Remove redundant check of mmc->slot.cd_irq
To validate whether native hotplug needs to be used, the tmio driver checks
whether the mmc->slot.cd_irq has been successfully assigned.
This check is redundant at its current place in tmio_mmc_host_probe(), as
the mmc core assigns mmc->slot.cd_irq a valid value first when
mmc_gpiod_request_cd_irq() is called. Therefore, let's just remove the
check for now, as that also removes a layering violation of the tmio driver
accessing core specific data via ->slot.cd_irq.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'Documentation/vfio.txt')
0 files changed, 0 insertions, 0 deletions