Messages in this thread | | | Subject | Re: [PATCH v2 2/3] tpm: Provide a function tpm_chip_free() to free tpm chips | From | Lino Sanfilippo <> | Date | Wed, 3 Feb 2021 15:09:50 +0100 |
| |
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 <l.sanfilippo@kunbus.com> >> >> 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 <l.sanfilippo@kunbus.com> > > I prefer open coding here. > > /Jarkko >
Ok, then I will drop this patch in the next series version.
Regards, Lino
| |