-
由 Dan Carpenter 提交于
"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: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NMilo Kim <milo.kim@ti.com> Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
f96b3074