mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 14:48:06 +00:00
USB: otg: remove unused function twl6030_set_phy_clk
Remove the unused function twl6030_set_phy_clk of twl6030-usb.c. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
938fbe54f3
commit
e18a99e28f
1 changed files with 0 additions and 16 deletions
|
@ -137,22 +137,6 @@ static inline u8 twl6030_readb(struct twl6030_usb *twl, u8 module, u8 address)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*/
|
|
||||||
static int twl6030_set_phy_clk(struct otg_transceiver *x, int on)
|
|
||||||
{
|
|
||||||
struct twl6030_usb *twl;
|
|
||||||
struct device *dev;
|
|
||||||
struct twl4030_usb_data *pdata;
|
|
||||||
|
|
||||||
twl = xceiv_to_twl(x);
|
|
||||||
dev = twl->dev;
|
|
||||||
pdata = dev->platform_data;
|
|
||||||
|
|
||||||
pdata->phy_set_clock(twl->dev, on);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int twl6030_phy_init(struct otg_transceiver *x)
|
static int twl6030_phy_init(struct otg_transceiver *x)
|
||||||
{
|
{
|
||||||
struct twl6030_usb *twl;
|
struct twl6030_usb *twl;
|
||||||
|
|
Loading…
Add table
Reference in a new issue