mfd: tps80031: rewrite exit path in probe failure
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 26 Jul 2012 11:00:58 +0000 (16:00 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Tue, 31 Jul 2012 10:41:28 +0000 (03:41 -0700)
commit2bd2f90abcaf21b130beb3b5310d74664f21a5d5
tree10b39abc075cbf61f211eaa1f28160a85d2c44e3
parentca288fa18ca9f8fb2601925904c6b53cd5e3e134
mfd: tps80031: rewrite exit path in probe failure

Rewrite exit path in case of failure in registration in
probe.

Change-Id: I6c2a8ce3d4fcc01dff97eeea63124d2da419da27
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/118956
Reviewed-by: Automatic_Commit_Validation_User
drivers/mfd/tps80031.c