]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
lp8727_charger: Small cleanup in naming
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Jan 2013 15:43:50 +0000 (18:43 +0300)
committerAnton Vorontsov <anton@enomsg.org>
Sun, 3 Feb 2013 03:33:52 +0000 (19:33 -0800)
commitf96b3074ecfedf74b137dc2cc00dccbf479d2713
tree24ea5ed4cedf35c3969560036dd6774d0acfad4c
parent58a1c154d449aae97a8ecad67ddbfd4024ac8446
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>
drivers/power/lp8727_charger.c