Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: cpcap-usb: Remove some useless code

Axe a clk that is unused in the driver.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20200507203127.202197-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Christophe JAILLET and committed by
Kishon Vijay Abraham I
6d9c1de8 05942b8c

-2
-2
drivers/phy/motorola/phy-cpcap-usb.c
··· 122 122 struct cpcap_phy_ddata { 123 123 struct regmap *reg; 124 124 struct device *dev; 125 - struct clk *refclk; 126 125 struct usb_phy phy; 127 126 struct delayed_work detect_work; 128 127 struct pinctrl *pins; ··· 706 707 707 708 usb_remove_phy(&ddata->phy); 708 709 cancel_delayed_work_sync(&ddata->detect_work); 709 - clk_unprepare(ddata->refclk); 710 710 regulator_disable(ddata->vusb); 711 711 712 712 return 0;