mmc: sdhci-pci: Convert to use managed functions pcim_* and devm_*
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 9 Jul 2016 13:41:43 +0000 (16:41 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:51 +0000 (10:34 +0200)
commit52ac7acf412b29b8a29320fde932eaa5bd3fd7c6
treebc4e60ab44532be6dce3748ffb51885d9f7012f7
parent6825a606584cec455b003afec7c10a07e563c994
mmc: sdhci-pci: Convert to use managed functions pcim_* and devm_*

This makes the error handling much more simpler than open-coding everything
and in addition makes the probe function smaller an tidier.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c