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

2021-02-03 Thread Lino Sanfilippo
Hi On 03.02.21 02:28, Jarkko Sakkinen wrote: > On Tue, Feb 02, 2021 at 11:09:02PM +0100, Lino Sanfilippo wrote: >> From: Lino Sanfilippo >> >> 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 p

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

2021-02-02 Thread Jarkko Sakkinen
On Tue, Feb 02, 2021 at 11:09:02PM +0100, Lino Sanfilippo wrote: > From: Lino Sanfilippo > > 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