Skip to content

Commit

Permalink
USB: otg: remove unused function twl6030_set_phy_clk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wanlong Gao authored and Greg Kroah-Hartman committed Aug 22, 2011
1 parent 938fbe5 commit e18a99e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions drivers/usb/otg/twl6030-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,22 +137,6 @@ static inline u8 twl6030_readb(struct twl6030_usb *twl, u8 module, u8 address)
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)
{
struct twl6030_usb *twl;
Expand Down

0 comments on commit e18a99e

Please sign in to comment.