mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Move the USB phy NULL checking before issuing usb_phy_set_charger_current() to avoid unchecked dereference warning. Signed-off-by: Baolin Wang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>