Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa56df91 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
parent 03491761
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
+0 −3
Original line number Diff line number Diff line
@@ -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;