Skip to content

Commit

Permalink
usb: musb: drop the set_clock magic
Browse files Browse the repository at this point in the history
now that platform glue layer handles
clock completely, that function is completely
useless for us. Drop it.

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Dec 10, 2010
1 parent 0349176 commit fa56df9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions drivers/usb/musb/musb_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ struct musb {
u8 board_mode; /* enum musb_mode */
int (*board_set_power)(int state);

int (*set_clock)(struct clk *clk, int is_active);

u8 min_power; /* vbus for periph, in mA/2 */

bool is_host;
Expand Down
3 changes: 0 additions & 3 deletions include/linux/usb/musb.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ struct musb_hdrc_platform_data {
/* Power the device on or off */
int (*set_power)(int state);

/* Turn device clock on or off */
int (*set_clock)(struct clk *clock, int is_on) __deprecated;

/* MUSB configuration-specific details */
struct musb_hdrc_config *config;

Expand Down

0 comments on commit fa56df9

Please sign in to comment.