regulator: core: Take supply regulator from init_data only
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 24 Aug 2012 07:13:58 +0000 (12:13 +0530)
committerVarun Colbert <vcolbert@nvidia.com>
Sat, 25 Aug 2012 02:27:12 +0000 (19:27 -0700)
commit36cbb4592fe596d0db41ba2910fe4c3dba3591f1
tree18cc380d41da4d19b69acb6705586bb7db55408c
parente351b6cfa7ca0a46d7cf09de2dc587aad5eb5ade
regulator: core: Take supply regulator from init_data only

As EPROBE_DEFER is not supported in K3.4 and hence if supply
regulator is not found then regulator registration fails.
Setting the supply regulator only from init_data in place of
providing it through desc.

Change-Id: Iebe321abd84fc3bec2c4aa5a4233320efef0387b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/127106
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
drivers/regulator/core.c