Re: [PATCH v1 09/12] usb: dwc3: Registering a role switch in the DRD code.

From: Andy Shevchenko
Date: Mon Dec 03 2018 - 04:15:32 EST


On Mon, Dec 3, 2018 at 5:47 AM Yu Chen <chenyu56@xxxxxxxxxx> wrote:
>
> The Type-C drivers use USB role switch API to inform the
> system about the negotiated data role, so registering a role
> switch in the DRD code in order to support platforms with
> USB Type-C connectors.

> + pr_info("%s:set role %d\n", __func__, role);

Noise!

> + return role;
> +

Redundant blank line.

> +}

--
With Best Regards,
Andy Shevchenko