power: smb349: add callback to update charger
authorChandler Zhang <chazhang@nvidia.com>
Mon, 12 Mar 2012 09:05:16 +0000 (17:05 +0800)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Thu, 15 Mar 2012 15:58:00 +0000 (08:58 -0700)
commit07102a20b48daf109282f23d2f72d8a710fe827b
tree541f856b7ea5b5713a7d1bff770f184d1f0f391d
parenta0713b76e334a8751adfbfc879dcebcfe6386c29
power: smb349: add callback to update charger

Add update_charger_status() function callback to fix unknown
charging status at start up issue.

Bug 951750

Change-Id: Ib264479b0a251a07d136c245afa85c3444754ee0
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89436
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
drivers/power/smb349-charger.c
include/linux/smb349-charger.h