mfd: Return proper error if tps65090 regmap_init_i2c fails
authorAxel Lin <axel.lin@gmail.com>
Wed, 25 Apr 2012 01:30:36 +0000 (09:30 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 9 May 2012 15:47:24 +0000 (17:47 +0200)
commitb683a0a675560307ebc458cf9044d98d27820b7c
treefc97cbdb3da5091023af5f150117ecebf772ed57
parent1379f49ea91a28f5c023d041aab785c3de60c65d
mfd: Return proper error if tps65090 regmap_init_i2c fails

Return proper error instead of 0 if regmap_init_i2c fails.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps65090.c