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)
"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

Simple merge