usb: musb-new: sunxi: remove unused define
Subsystems (2)
PATCH v2 1/1 usb: musb-new: sunxi: remove unused define
This is a remnant from when the USB controller driver managed the reset signal itself. A patch from the very end of 2018 changed this driver to delegate reset (and clock) management to the proper control unit driver, but left this unused define behind.
Signed-off-by Sam Edwards <[email protected]>
Reviewed-by Marek Vasut <[email protected]>
--- drivers/usb/musb-new/sunxi.c | 2 -- 1 file changed, 2 deletions(-)
drivers/usb/musb-new/sunxi.c +0 -2
@@ -81,8 +81,6 @@* From usbc/usbc.c ******************************************************************************/ -#define OFF_SUN6I_AHB_RESET0 0x2c0 -struct sunxi_musb_config {struct musb_hdrc_config *config;bool has_sram;
Signature · 1 line
2.39.2
Marek Vasut
AppliedQuoted 16 lines · Sam Edwards
This is a remnant from when the USB controller driver managed the reset signal itself. A patch from the very end of 2018 changed this driver to delegate reset (and clock) management to the proper control unit driver, but left this unused define behind.
Signed-off-by Sam Edwards <[email protected]>Reviewed-by Marek Vasut <[email protected]>--- drivers/usb/musb-new/sunxi.c | 2 -- 1 file changed, 2 deletions(-)drivers/usb/musb-new/sunxi.c +0
-0
drivers/usb/musb-new/sunxi.c line 86
Quoted 8 lines
drivers/usb/musb-new/sunxi.c +0
-2@@ -81,8 +81,6 @@* From usbc/usbc.c ******************************************************************************/ -#define OFF_SUN6I_AHB_RESET0 0x2c0 -struct sunxi_musb_config {struct musb_hdrc_config *config;bool has_sram;
Applied to usb/master, thanks