android_kernel_xiaomi_sm7250/drivers/phy/broadcom
Florian Fainelli 3085de8d95 phy: usb: phy-brcm-usb: Remove sysfs attributes upon driver removal
[ Upstream commit d9e100829fca6cbd270d7e005b0c0bb2d14924b8 ]

We are not destroying the sysfs attribute groupe we registered during
the probe function which will make subsequent probe calls to that
driver fail. Correct that with adding a remove function which only
removes those attributes since the reference counting on clocks did its
job already.

Fixes: 415060b21f ("phy: usb: phy-brcm-usb: Add ability to force DRD mode to host or device")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:54 +01:00
..
Kconfig phy: brcm-sata: allow PHY_BRCM_SATA driver to be built for DSL SoCs 2019-11-20 18:47:23 +01:00
Makefile phy: bcm-sr-pcie: Add Stingray PCIe PHY driver 2018-07-10 13:45:10 +05:30
phy-bcm-cygnus-pcie.c
phy-bcm-kona-usb2.c
phy-bcm-ns2-pcie.c
phy-bcm-ns2-usbdrd.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
phy-bcm-ns-usb2.c
phy-bcm-ns-usb3.c phy: bcm-ns-usb3: add MDIO driver using proper bus layer 2017-06-16 13:22:26 +05:30
phy-bcm-sr-pcie.c phy: bcm-sr-pcie: Add Stingray PCIe PHY driver 2018-07-10 13:45:10 +05:30
phy-brcm-sata.c phy: brcm-sata: remove unused variable 2018-01-18 06:45:57 -08:00
phy-brcm-usb-init.c phy: phy-brcm-usb-init: Fix power down USB 3.0 PHY when XHCI reenabled 2018-06-29 12:00:22 +05:30
phy-brcm-usb-init.h phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver 2017-10-03 11:54:54 +05:30
phy-brcm-usb.c phy: usb: phy-brcm-usb: Remove sysfs attributes upon driver removal 2020-01-27 14:50:54 +01:00