Re: [PATCH v3] USB: PHY: Re-organize Tegra USB PHY driver

From: Stephen Warren
Date: Fri Sep 21 2012 - 13:45:56 EST


On 09/21/2012 06:20 AM, Venu Byravarasu wrote:
> NVIDIA produces several Tegra SoCs viz Tegra20, Tegra30 etc.
> In order to support USB PHY drivers on these SoCs, existing
> PHY driver is split into SoC agnostic common USB PHY driver
> and Tegra20-specific USB phy driver. This will facilitate
> easy addition and deletion of phy drivers for Tegra SoCs.
>
> Signed-off-by: Venu Byravarasu <vbyravarasu@xxxxxxxxxx>

Tested-by: Stephen Warren <swarren@xxxxxxxxxx>

> ---
> delta from v2:
>
> Added an if condition to check for device_node to be not NULL,
> before dereferencing it.

I suppose that doesn't hurt, but it's not strictly needed; this code
will only ever run on systems that boot using device tree now.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/