Message ID | 20230608184542.43019-1-CFSworks@gmail.com |
---|---|
State | Accepted |
Delegated to: | Marek Vasut |
Headers | show |
Series | [v2] usb: musb-new: sunxi: remove unused define | expand |
On 6/8/23 20:45, Sam Edwards wrote: > 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 <CFSworks@gmail.com> > Reviewed-by: Marek Vasut <marex@denx.de> > --- > drivers/usb/musb-new/sunxi.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c > index 2b954601a0..85d815ad75 100644 > --- a/drivers/usb/musb-new/sunxi.c > +++ b/drivers/usb/musb-new/sunxi.c > @@ -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
diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index 2b954601a0..85d815ad75 100644 --- a/drivers/usb/musb-new/sunxi.c +++ b/drivers/usb/musb-new/sunxi.c @@ -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;