regulator: add sysfs for rail enable/disable
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 26 Apr 2012 18:49:43 +0000 (23:49 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 4 May 2012 14:11:24 +0000 (19:11 +0530)
commit6a2ef07c1ee6e1cc17b8169d3e3a5614cc3ee882
treed00b3d4672ff35743ea5e55b80f53ada11a75a1e
parent801ce39e71a641960049d759a7764603b70d1e15
regulator: add sysfs for rail enable/disable

Added support for enable/disable rails from user space.

bug 966960

Change-Id: Iae660699c60f537296f90508a78bd40959c46535
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/99186
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Tested-by: Hunk Lin <hulin@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/regulator/core.c