commit | f96b3074ecfedf74b137dc2cc00dccbf479d2713 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Jan 25 18:43:50 2013 +0300 |
committer | Anton Vorontsov <anton@enomsg.org> | Sat Feb 02 19:33:52 2013 -0800 |
tree | 24ea5ed4cedf35c3969560036dd6774d0acfad4c | |
parent | 58a1c154d449aae97a8ecad67ddbfd4024ac8446 [diff] |
lp8727_charger: Small cleanup in naming "pdata" and "pchg->pdata" are the same. Changing the function call to pdata->get_batt_present() makes it match the check and it's a little cleaner. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Milo Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>