]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: host: omap_hsmmc: Do not initialize MMC regulators to NULL on error
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 7 Jun 2017 08:36:10 +0000 (14:06 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:40 +0000 (10:30 +0200)
commita646fd80d05bc98d9e750dc97b792b12ca5974d1
treeed5e48eea97647a1059e2d35e8c627b2849e6364
parent8490b2cbfcde26f0bc245a19119eb584167213e3
mmc: host: omap_hsmmc: Do not initialize MMC regulators to NULL on error

Do not initialize MMC regulators to NULL on error in omap_hsmmc driver
similar to what is done in mmc_regulator_get_supply(). This is in
preparation for using mmc_regulator_get_supply() to get MMC
regulators.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c