]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: chipidea: core: refactor ci_usb_role_switch_set()
authorXu Yang <xu.yang_2@nxp.com>
Thu, 2 Apr 2026 07:14:55 +0000 (15:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Apr 2026 11:46:54 +0000 (13:46 +0200)
commitabad793a41edbf05b87935f6b83017512ed0003a
treef0d519749cd44c0fe511247415d1473350eee461
parent3723393cc284e09107c0f55c47458b75b29be2c3
usb: chipidea: core: refactor ci_usb_role_switch_set()

Current code is redundant, refactor the code, no function change.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://patch.msgid.link/20260402071457.2516021-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c