]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite487757b637e22373c04cb1f055f2d670245ad24
treebc4e60ab44532be6dce3748ffb51885d9f7012f7
parent53c86e3e58c8b97ccfe859abe1e71855078131c3
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