commit | eb3c74de28b24f5a36d12d6c84f1fceb25d12c4f | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Mon Aug 28 19:02:41 2017 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 31 18:08:47 2017 +0200 |
tree | eb30f865259f233e31169b04d5456afd9ebf5c8a | |
parent | 06e74935c77e8605d7d825cd3762cad2c70578ed [diff] |
usb: phy: Avoid unchecked dereference warning Move the USB phy NULL checking before issuing usb_phy_set_charger_current() to avoid unchecked dereference warning. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>