mmc: tegra: Single function for regulator ops
authorPavan Kunapuli <pkunapuli@nvidia.com>
Tue, 6 Aug 2013 16:23:07 +0000 (21:23 +0530)
committerMrutyunjay Sawant <msawant@nvidia.com>
Mon, 19 Aug 2013 17:37:54 +0000 (10:37 -0700)
commit6fbfe39b4d89e7ac22f519778cdaba36b7f5a5e1
tree01c35a6dfb71c6f85b32aaa5fe52767be7ff0d61
parent6c04730044e1ba0c02b3d9848dd72fca6c2999ca
mmc: tegra: Single function for regulator ops

Use single function for SDMMC related regulator enable, disable and
set voltage operations to avoid repetitive code.

Bug 1330567

Change-Id: Ie93067692090a43c0ac76f5689517bced2aeae58
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/260567
GVS: Gerrit_Virtual_Submit
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
drivers/mmc/host/sdhci-tegra.c