[01/10] usb: host: xhci-tegra: Fix "tega" -> "tegra" typo
diff mbox series

Message ID 20191125123210.1564323-2-thierry.reding@gmail.com
State Changes Requested
Headers show
Series
  • usb: host: xhci-tegra: Implement basic ELPG support
Related show

Commit Message

Thierry Reding Nov. 25, 2019, 12:32 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

The tegra_xusb_mbox_regs structure was misspelled tega_xusb_mbox_regs.
Fortunately this was done consistently so it didn't cause any issues.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 drivers/usb/host/xhci-tegra.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

JC Kuo Nov. 26, 2019, 2:50 a.m. UTC | #1
Reviewed-by: JC Kuo <jckuo@nvidia.com>

On 11/25/19 8:32 PM, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> The tegra_xusb_mbox_regs structure was misspelled tega_xusb_mbox_regs.
> Fortunately this was done consistently so it didn't cause any issues.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  drivers/usb/host/xhci-tegra.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
> index bf9065438320..aa1c4e5fd750 100644
> --- a/drivers/usb/host/xhci-tegra.c
> +++ b/drivers/usb/host/xhci-tegra.c
> @@ -145,7 +145,7 @@ struct tegra_xusb_phy_type {
>  	unsigned int num;
>  };
>  
> -struct tega_xusb_mbox_regs {
> +struct tegra_xusb_mbox_regs {
>  	u16 cmd;
>  	u16 data_in;
>  	u16 data_out;
> @@ -166,7 +166,7 @@ struct tegra_xusb_soc {
>  		} usb2, ulpi, hsic, usb3;
>  	} ports;
>  
> -	struct tega_xusb_mbox_regs mbox;
> +	struct tegra_xusb_mbox_regs mbox;
>  
>  	bool scale_ss_clock;
>  	bool has_ipfs;
>

Patch
diff mbox series

diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index bf9065438320..aa1c4e5fd750 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -145,7 +145,7 @@  struct tegra_xusb_phy_type {
 	unsigned int num;
 };
 
-struct tega_xusb_mbox_regs {
+struct tegra_xusb_mbox_regs {
 	u16 cmd;
 	u16 data_in;
 	u16 data_out;
@@ -166,7 +166,7 @@  struct tegra_xusb_soc {
 		} usb2, ulpi, hsic, usb3;
 	} ports;
 
-	struct tega_xusb_mbox_regs mbox;
+	struct tegra_xusb_mbox_regs mbox;
 
 	bool scale_ss_clock;
 	bool has_ipfs;