usb: chipidea: debug: remove redundant 'role' debug file
authorXu Yang <xu.yang_2@nxp.com>
Fri, 17 Mar 2023 06:16:51 +0000 (14:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2023 16:27:46 +0000 (17:27 +0100)
commita0c7f9f659825e9761f8db423001de4e5147b60c
treebd608ced39afed2f6993a2d7e416b0cd2d984b38
parent9abe15d55dccec92d361705741ee80f13b4d0888
usb: chipidea: debug: remove redundant 'role' debug file

Two 'role' file exist in different position but with totally same function.

1. /sys/devices/platform/soc@0/xxxxxxxx.usb/ci_hdrc.0/role
2. /sys/kernel/debug/usb/ci_hdrc.0/role

This will remove the 2rd redundant 'role' debug file (under debugfs) and
keep the one which is more closer to user.

Acked-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20230317061651.2457567-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/debug.c