-
由 Jarkko Sakkinen 提交于
Call put_device() and return error code if devm_add_action() fails. Signed-off-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reported-by: NJason Gunthorpe <jgunthorpe@obsidianresearch.com> Fixes: 8e0ee3c9 ("tpm: fix the cleanup of struct tpm_chip")
4f3b193d