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)
commit86d79da0aadde60e4f84fe8cf7a75d4db2a79968
treeed5e48eea97647a1059e2d35e8c627b2849e6364
parentab723a6d9e22f5c1d82e34159c48c24febe79f77
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