usb: musb: drop the set_clock magic
authorFelipe Balbi <balbi@ti.com>
Thu, 2 Dec 2010 08:55:29 +0000 (10:55 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 10 Dec 2010 08:21:25 +0000 (10:21 +0200)
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>
drivers/usb/musb/musb_core.h
include/linux/usb/musb.h

index 6c8e963..1e53867 100644 (file)
@@ -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;
index 0b72b57..0b0e383 100644 (file)
@@ -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;