Re: [PATCH v3] Add "shutdown" to "struct class".

From: Jarkko Sakkinen
Date: Thu May 25 2017 - 13:06:37 EST


On Thu, May 25, 2017 at 03:09:30PM +0200, Greg Kroah-Hartman wrote:
> On Mon, May 15, 2017 at 10:34:38AM -0700, Josh Zimmerman wrote:
> > The TPM class has some common shutdown code that must be executed for
> > all drivers. This adds some needed functionality for that.
> >
> > Usage example: 'tpm: Issue a TPM2_Shutdown for TPM2 devices.'
> > (see https://patchwork.kernel.org/patch/9724919/ for v2).
> >
> > Signed-off-by: Josh Zimmerman <joshz@xxxxxxxxxx>
>
> Given that the tpm code is going to need this, I recommend someone take
> it through that tree:
>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> Otherwise, if you want me to take it, I can, but I doubt you want it in
> my driver-core tree as that will not get merged to Linus until 4.13-rc1.
>
> thanks,
>
> greg k-h

I can take this to the tpmdd tree. For me only thing that matters that
there isn't collisions. If we all agree on this, I'll apply Josh's
patches and include to my next PR.

/Jarkko