aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2017-12-22 13:36:16 +0100
committerChanwoo Choi <[email protected]>2018-01-03 10:12:59 +0900
commitca90a64dc671f4a18958078a4bf2e31e2ef57db9 (patch)
tree650dc3a53c51533793d7451024370b9193294a46 /scripts/gcc-plugins/structleak_plugin.c
parent60ed99961469a3683b52d09bc0771053fb484ae0 (diff)
extcon: axp288: Handle reserved charger-type values better
According to the data sheets all the values not handled in the switch-case are "reserved". Update the dev_warn message to reflect this and set the cable-type to EXTCON_CHG_USB_SDP (so max 500mA current draw) as safe default. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions