diff options
author | Heikki Krogerus | 2022-08-25 17:04:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-08-30 15:30:39 +0200 |
commit | b7cafb8b06a05c146bf75e5f666f8d84191d1ad4 (patch) | |
tree | 4d21efa8b9ad8ebf5753a26e0d9393c8998ee683 /.cocciconfig | |
parent | 6000b8d900cd5f52fbcd0776d0cc396e88c8c2ea (diff) |
usb: typec: Remove retimers properly
Retimer device class is left dangling when the typec module
is unloaded. Attempts to reload the module failed with warning:
"sysfs: cannot create duplicate filename '/class/retimer'"
Fixing the issue by unregistering the class properly.
Fixes: ddaf8d96f93b ("usb: typec: Add support for retimers")
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20220825140411.10743-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions