regulator: fixed: add provision to register driver little late
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 10 Sep 2013 13:20:59 +0000 (18:20 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Tue, 17 Sep 2013 00:41:50 +0000 (17:41 -0700)
commit6b2d9e66b7b6b347d8c8e3ec21d8dcf919b62ab0
tree6b2687caf0db3861c29afe53f1888958ca170fe2
parent0e8739dad1c886c4f4fc675fb4eaef22872cc6bc
regulator: fixed: add provision to register driver little late

Some of i2c based devices register themself as the GPIO. Deferring
the fixed regulator little bit late by using subsys_initcall_sync
level of initialisation to have fixed regulator registration after
the GPIO initialisation so that driver can get all the GPIOs.

Change-Id: I21c41e13242d37dbae3e9b9164c3600d2ac02c55
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/272606
drivers/regulator/fixed.c