diff options
author | Felipe Balbi <balbi@ti.com> | 2010-12-02 03:55:29 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2010-12-10 03:21:25 -0500 |
commit | fa56df915d101770a495569473b4c13b1904087b (patch) | |
tree | f10abb5731bc4c8ea62b57af760049782c913faa | |
parent | 0349176120aa3024e96ae4fd7dc0e0181dc55f52 (diff) |
usb: musb: drop the set_clock magic
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>
-rw-r--r-- | drivers/usb/musb/musb_core.h | 2 | ||||
-rw-r--r-- | include/linux/usb/musb.h | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 6c8e9630fb19..1e538675ab86 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h | |||
@@ -455,8 +455,6 @@ struct musb { | |||
455 | u8 board_mode; /* enum musb_mode */ | 455 | u8 board_mode; /* enum musb_mode */ |
456 | int (*board_set_power)(int state); | 456 | int (*board_set_power)(int state); |
457 | 457 | ||
458 | int (*set_clock)(struct clk *clk, int is_active); | ||
459 | |||
460 | u8 min_power; /* vbus for periph, in mA/2 */ | 458 | u8 min_power; /* vbus for periph, in mA/2 */ |
461 | 459 | ||
462 | bool is_host; | 460 | bool is_host; |
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h index 0b72b5741645..0b0e383035e5 100644 --- a/include/linux/usb/musb.h +++ b/include/linux/usb/musb.h | |||
@@ -118,9 +118,6 @@ struct musb_hdrc_platform_data { | |||
118 | /* Power the device on or off */ | 118 | /* Power the device on or off */ |
119 | int (*set_power)(int state); | 119 | int (*set_power)(int state); |
120 | 120 | ||
121 | /* Turn device clock on or off */ | ||
122 | int (*set_clock)(struct clk *clock, int is_on) __deprecated; | ||
123 | |||
124 | /* MUSB configuration-specific details */ | 121 | /* MUSB configuration-specific details */ |
125 | struct musb_hdrc_config *config; | 122 | struct musb_hdrc_config *config; |
126 | 123 | ||