]> www.infradead.org Git - users/willy/xarray.git/commit
usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes()
authorZijun Hu <quic_zijuhu@quicinc.com>
Tue, 20 Aug 2024 11:01:27 +0000 (19:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2024 09:29:50 +0000 (17:29 +0800)
commit3a8839bbb86da7968a792123ed2296d063871a52
tree24c0ee083aa4e0a36a57f5a664cc5eb12c2749b9
parent4f83cae0edb2b13aabb82e8a4852092844d320aa
usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes()

Device attribute group @usb3_hardware_lpm_attr_group is merged by
add_power_attributes(), but it is not unmerged explicitly, fixed by
unmerging it in remove_power_attributes().

Fixes: 655fe4effe0f ("usbcore: add sysfs support to xHCI usb3 hardware LPM")
Cc: stable@vger.kernel.org
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20240820-sysfs_fix-v2-1-a9441487077e@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/sysfs.c