]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: host: omap_hsmmc: cleanup omap_hsmmc_reg_get()
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 27 Aug 2015 09:13:55 +0000 (14:43 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:54:06 +0000 (14:54 +0200)
commitc299dc39883ca5596905507cc945332fa4bae8bd
tree1d32b5c81ff6229deb2acc983b35d0d0efd7d757
parent6a9b2ff07d0415ad19fb07b9a141863fb86c3497
mmc: host: omap_hsmmc: cleanup omap_hsmmc_reg_get()

No functional change. Instead of using a local regulator variable
in omap_hsmmc_reg_get() for holding the return value of
devm_regulator_get_optional() and then assigning to omap_hsmmc_host
regulator members: vcc, vcc_aux and pbias, directly use the
omap_hsmmc_host regulator members.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c