Re: [PATCH] usb: phy: tegra: Remove unnecessary spaces and tables

From: Felipe Balbi
Date: Wed Jun 24 2020 - 02:45:30 EST



Hi,

Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx> writes:
> The macros in phy-tegra-usb.c have inconsistent sapces between
> the macro name and the value. Thus sets all the macros to have
> a signal space between the name and value.
>
> Signed-off-by: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/usb/phy/phy-tegra-usb.c | 214 ++++++++++++++++----------------
> 1 file changed, 107 insertions(+), 107 deletions(-)
>
> diff --git a/drivers/usb/phy/phy-tegra-usb.c b/drivers/usb/phy/phy-tegra-usb.c
> index 6153cc35a..c294dc617 100644
> --- a/drivers/usb/phy/phy-tegra-usb.c
> +++ b/drivers/usb/phy/phy-tegra-usb.c
> @@ -30,124 +30,124 @@
> #include <linux/usb/tegra_usb_phy.h>
> #include <linux/usb/ulpi.h>
>
> -#define ULPI_VIEWPORT 0x170
> +#define ULPI_VIEWPORT 0x170
>
> /* PORTSC PTS/PHCD bits, Tegra20 only */
> -#define TEGRA_USB_PORTSC1 0x184
> -#define TEGRA_USB_PORTSC1_PTS(x) (((x) & 0x3) << 30)
> -#define TEGRA_USB_PORTSC1_PHCD BIT(23)
> +#define TEGRA_USB_PORTSC1 0x184
> +#define TEGRA_USB_PORTSC1_PTS(x) (((x) & 0x3) << 30)
> +#define TEGRA_USB_PORTSC1_PHCD BIT(23)

the idea was the line up the definitions. I'm not taking this, sorry.

--
balbi

Attachment: signature.asc
Description: PGP signature