diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2022-02-01 14:07:04 +0100 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-02-01 14:55:12 +0100 |
| commit | 73b5ae341588ddb6480dff5471e66e4016be26a0 (patch) | |
| tree | d74d6115e3957bc9121084aa5ffb8a11e6a4b429 /tools/perf/scripts/python/bin | |
| parent | extcon: intel-cht-wc: Support devs with Micro-B / USB-2 only Type-C connectors (diff) | |
| download | linux-73b5ae341588ddb6480dff5471e66e4016be26a0.tar.gz linux-73b5ae341588ddb6480dff5471e66e4016be26a0.zip | |
extcon: intel-cht-wc: Refactor cht_wc_extcon_get_charger()
This is a preparation patch for adding support for registering
a power_supply class device.
Setting usbsrc to "CHT_WC_USBSRC_TYPE_SDP << CHT_WC_USBSRC_TYPE_SHIFT"
will make the following switch-case return EXTCON_CHG_USB_SDP
just as before, so there is no functional change.
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
