Update a utility to support the new tpm sysfs class directory
Kernel TPM patches from 4.x moved /sys/class/misc/tpm0 to /sys/class/tpm/tpm0.
Support both paths in this utility.
TEST=untested, not sure if this utility is still used.
Commit-Ready: Bryan Freed <firstname.lastname@example.org>
Tested-by: Bryan Freed <email@example.com>
Reviewed-by: Duncan Laurie <firstname.lastname@example.org>
1 file changed