summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorStephen Boyd <stephen.boyd@linaro.org>2017-01-20 15:11:55 +0800
committerStefan Agner <stefan.agner@toradex.com>2017-09-18 12:29:41 -0700
commit1721e2f983fcf871d2bf921d944c290571134010 (patch)
treeeac1b6a9f742a50f019ad0dfe2fbd5522d754e78 /tools/perf/builtin-script.c
parentde6cb891b3ef9b761bb822815b3f5538968a7fd9 (diff)
usb: chipidea: Consolidate extcon notifiers
The two extcon notifiers are almost the same except for the variable name for the cable structure and the id notifier inverts the cable->state logic. Make it the same and replace two functions with one to save some lines. This also makes it so that the id cable state is true when the id pin is pulled low, so we change the name of ->state to ->connected to properly reflect that we're interested in the cable being connected. Acked-by: Peter Chen <peter.chen@nxp.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: "Ivan T. Ivanov" <iivanov.xz@gmail.com> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions