]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 27 Aug 2015 09:14:05 +0000 (14:44 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:54:07 +0000 (14:54 +0200)
commitc55d7a0553643a7e8f120688b82b594471084d3c
treed180c03b095017cb142778a05f8f4e8021677964
parent3f77f702389b7fbc955ec95721ce3861e40697fc
mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status

Use regulator_is_enabled of pbias regulator to find pbias regulator
status instead of maintaining a custom bookkeeping
pbias_enabled variable.

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