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

phy: cpcap-usb: Remove some useless code

parent 05942b8c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -122,7 +122,6 @@ enum cpcap_gpio_mode {
struct cpcap_phy_ddata {
	struct regmap *reg;
	struct device *dev;
	struct clk *refclk;
	struct usb_phy phy;
	struct delayed_work detect_work;
	struct pinctrl *pins;
@@ -707,7 +706,6 @@ static int cpcap_usb_phy_remove(struct platform_device *pdev)

	usb_remove_phy(&ddata->phy);
	cancel_delayed_work_sync(&ddata->detect_work);
	clk_unprepare(ddata->refclk);
	regulator_disable(ddata->vusb);

	return 0;