Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-5
-2
drivers/usb/musb/musb_core.h
··· 455 455 u8 board_mode; /* enum musb_mode */ 456 456 int (*board_set_power)(int state); 457 457 458 - int (*set_clock)(struct clk *clk, int is_active); 459 - 460 458 u8 min_power; /* vbus for periph, in mA/2 */ 461 459 462 460 bool is_host;
-3
include/linux/usb/musb.h
··· 118 118 /* Power the device on or off */ 119 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 121 /* MUSB configuration-specific details */ 125 122 struct musb_hdrc_config *config; 126 123