usb: phy: show USB charger type for user
authorPeter Chen <peter.chen@nxp.com>
Thu, 16 Jan 2020 03:28:52 +0000 (11:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jan 2020 08:41:27 +0000 (09:41 +0100)
commit3bdcfe6c1d90b343c3de5fffdc83d988e76f8679
tree041723cbeeac5f265e33149f8e8a5c160b20b59d
parentc120431347246fe481b73026cad49920f705e92f
usb: phy: show USB charger type for user

Current USB charger framework only shows charger state for user, but the
user may also need charger type for further use, add support for it.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Link: https://lore.kernel.org/r/1579145333-1657-1-git-send-email-peter.chen@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy.c