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

usb: musb: mark ->set_clock deprecated

... we will completely drop that need by
moving clock handling to platform glue
layer. Marking as deprecated will allow
us to catch all users easily.

Signed-off-by: Felipe Balbi <balbi@ti.com>

+1 -1
+1 -1
include/linux/usb/musb.h
··· 119 119 int (*set_power)(int state); 120 120 121 121 /* Turn device clock on or off */ 122 - int (*set_clock)(struct clk *clock, int is_on); 122 + int (*set_clock)(struct clk *clock, int is_on) __deprecated; 123 123 124 124 /* MUSB configuration-specific details */ 125 125 struct musb_hdrc_config *config;