power: max77665: refactor err code handling
authorXin Xie <xxie@nvidia.com>
Thu, 28 Mar 2013 06:38:48 +0000 (11:38 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:07:12 +0000 (13:07 -0700)
commita467c2704988f3f47d2b70b3d2b8d498559187ab
tree084c6d83c1f24781e5b68b92291bdb0588bc9682
parent3af46b4dcdea41101fdf1fa5f85c96dd8b986802
power: max77665: refactor err code handling

Bug 1242272

Change-Id: I9dc9d0578557f2de5f3e11c3779f5f3a89bf364b
Signed-off-by: Xin Xie <xxie@nvidia.com>
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/207404
(cherry picked from commit 94db8a56ae1334b0e6fa152ca9ace86acb827554)
Reviewed-on: http://git-master/r/214663
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/power/max77665-charger.c