diff mbox series

[v2] usb: musb-new: sunxi: remove unused define

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

Commit Message

Sam Edwards June 8, 2023, 6:45 p.m. UTC
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(-)

Comments

Marek Vasut June 8, 2023, 7:58 p.m. UTC | #1
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 mbox series

Patch

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;