mfd: tps65090: Add error prints when mem alloc failed
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 20 Nov 2012 03:14:46 +0000 (08:44 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Nov 2012 15:07:51 +0000 (16:07 +0100)
commite8e6f047e666a1682b59e52637a7acaa8a0b4c89
treec9596079e6a14908355f4eba42448becc720b323
parente2e8ffc97029a1159ac83bce1933a7e539f16a9d
mfd: tps65090: Add error prints when mem alloc failed

Add error prints when memory allocation failed for
tps65090 data. Also cleanups the melloc arguments.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps65090.c