Commit 6d9c1de8 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Kishon Vijay Abraham I

phy: cpcap-usb: Remove some useless code

Axe a clk that is unused in the driver.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20200507203127.202197-1-christophe.jaillet@wanadoo.frSigned-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 05942b8c
...@@ -122,7 +122,6 @@ enum cpcap_gpio_mode { ...@@ -122,7 +122,6 @@ enum cpcap_gpio_mode {
struct cpcap_phy_ddata { struct cpcap_phy_ddata {
struct regmap *reg; struct regmap *reg;
struct device *dev; struct device *dev;
struct clk *refclk;
struct usb_phy phy; struct usb_phy phy;
struct delayed_work detect_work; struct delayed_work detect_work;
struct pinctrl *pins; struct pinctrl *pins;
...@@ -707,7 +706,6 @@ static int cpcap_usb_phy_remove(struct platform_device *pdev) ...@@ -707,7 +706,6 @@ static int cpcap_usb_phy_remove(struct platform_device *pdev)
usb_remove_phy(&ddata->phy); usb_remove_phy(&ddata->phy);
cancel_delayed_work_sync(&ddata->detect_work); cancel_delayed_work_sync(&ddata->detect_work);
clk_unprepare(ddata->refclk);
regulator_disable(ddata->vusb); regulator_disable(ddata->vusb);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment