Re: [PATCH] usb: phy: tegra: embed UTMI pad config in phy struct

From: Greg Kroah-Hartman

Date: Fri Nov 20 2026 - 07:40:41 EST


On Sun, Sep 20, 2026 at 06:59:52PM -0700, Rosen Penev wrote:
> The UTMI pad configuration was kept in a heap-allocated void * member of
> struct tegra_usb_phy, even though the driver is the only user of the
> field. Embed the struct directly in the phy state to drop the
> allocation and the void pointer indirection. The config is
> zero-initialized when the phy struct is allocated, so no extra init
> is needed.

But why is this needed? What does this "fix"?