summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-20 04:16:31 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2016-05-02 10:33:34 +0200
commit5c59065be5a1b347e06d1ad57e017ae2992e606a (patch)
treef151df000076000b59513d3ba6b91fb69f0ab5a9 /virt
parentmmc: sdhci-pltfm: move devm_ioremap_resource() up (diff)
downloadlinux-5c59065be5a1b347e06d1ad57e017ae2992e606a.tar.xz
linux-5c59065be5a1b347e06d1ad57e017ae2992e606a.zip
mmc: sdhci-pltfm: call platform_get_irq() before sdhci_alloc_host()
Swap the call order of sdhci_alloc_host() and platform_get_irq(). It makes sdhci_alloc_host() the last function that can fail in the sdhci_pltfm_init(). So, we can drop the sdhci_free_host() call from the failure path. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions