> "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. Thanks! Acked-by: Milo Kim <milo.kim@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html