Re: [PATCH v10 2/5] tpm: Introduce TPM_CHIP_FLAG_VIRTUAL

From: Jason Gunthorpe
Date: Fri Apr 15 2016 - 12:42:33 EST


On Fri, Apr 15, 2016 at 09:50:13AM -0400, Stefan Berger wrote:
> Introduce TPM_CHIP_FLAG_VIRTUAL to be used when the chip device has no
> parent device.
>
> Prevent sysfs entries requiring a parent device from being created.
>
> Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>
> drivers/char/tpm/tpm-chip.c | 7 +++++--
> drivers/char/tpm/tpm.h | 1 +
> 2 files changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>

Jason