mfd: tps65090: initialize regmap before accessing register
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 7 Aug 2012 09:46:51 +0000 (14:46 +0530)
committerLokesh Pathak <lpathak@nvidia.com>
Wed, 8 Aug 2012 15:58:37 +0000 (08:58 -0700)
commit8b46cee43505dc24d744647f09aca01d8113c842
tree3b0d52228a171697f090cdad32c6e8f422ec7631
parent1e1a831d0238d3bf06b9e9066912d2b150b6ddfb
mfd: tps65090: initialize regmap before accessing register

The regmap should be initialized before irq initialization
happen as register are accessed during irq init.

Change-Id: I301e8b84596a9075209901cbaff1dc42a944e163
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/121623
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
drivers/mfd/tps65090.c