]> 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)
commitb86e316b75225ff5b0be6f0fc4a7a10aaa96137e
treeed5e48eea97647a1059e2d35e8c627b2849e6364
parent82efbfbc4c32c9f3f5e306749966958d30db60e0
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