]> git.baikalelectronics.ru Git - 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)
commit2f4d132a8430bb81c32bc900501bf47588d022d3
tree24ea5ed4cedf35c3969560036dd6774d0acfad4c
parent75b859ecd381b32979c1752f65df9405ef2f3b37
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