Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
wrote on 04/11/2016 04:57:18 PM:
>
> On Mon, Apr 11, 2016 at 04:30:34PM -0400, Stefan Berger wrote:
>
> > > Doesn't matter, just dev_set_drvdata right
after the chip is
> > > allocated, just like vtpm does already for
chip->priv.
> > We don't have a dev at this point.
>
> Eh? If you have a chip you have a dev.
Ok. I would nevertheless like to reduce the churn
in the series where I would post next a v10.
I am using chip->dev.platform_data = proxy_dev
to store the proxy_dev. Here's the current v10:
https://github.com/stefanberger/linux/commits/vtpm-driver.v10
>
> Jason
>