提交 fa56df91 编写于 作者: F Felipe Balbi

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: NFelipe Balbi <balbi@ti.com>
上级 03491761
...@@ -455,8 +455,6 @@ struct musb { ...@@ -455,8 +455,6 @@ struct musb {
u8 board_mode; /* enum musb_mode */ u8 board_mode; /* enum musb_mode */
int (*board_set_power)(int state); int (*board_set_power)(int state);
int (*set_clock)(struct clk *clk, int is_active);
u8 min_power; /* vbus for periph, in mA/2 */ u8 min_power; /* vbus for periph, in mA/2 */
bool is_host; bool is_host;
......
...@@ -118,9 +118,6 @@ struct musb_hdrc_platform_data { ...@@ -118,9 +118,6 @@ struct musb_hdrc_platform_data {
/* Power the device on or off */ /* Power the device on or off */
int (*set_power)(int state); 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 */ /* MUSB configuration-specific details */
struct musb_hdrc_config *config; struct musb_hdrc_config *config;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册