Thread (11 messages) 11 messages, 3 authors, 2021-02-03

Re: [PATCH v2 2/3] tpm: Provide a function tpm_chip_free() to free tpm chips

From: Lino Sanfilippo <hidden>
Date: 2021-02-03 14:11:00
Also in: lkml

Hi

On 03.02.21 02:28, Jarkko Sakkinen wrote:
On Tue, Feb 02, 2021 at 11:09:02PM +0100, Lino Sanfilippo wrote:
quoted
From: Lino Sanfilippo <redacted>

Provide a function tpm_chip_free() as a counterpart to tpm_chip_alloc().
The function hides the internals of freeing a struct tpm_chip instance
by putting the device references which are part of this structure.

Use the new function at the appropriate places.

Signed-off-by: Lino Sanfilippo <redacted>
I prefer open coding here.

/Jarkko
Ok, then I will drop this patch in the next series version.

Regards,
Lino
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help