]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tpm: fix the rollback in tpm_chip_register()
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 29 Jan 2016 17:47:22 +0000 (09:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:08:47 +0000 (09:08 -0700)
commit3e69549b48e39e72c7aad093e0c5e29ab547a9f1
tree0fce1710c41b6c0a2a9afd7e3f101b571d37e4f1
parentfa0ae4f223ab29ab853959b08449b5c08c9cb7a0
tpm: fix the rollback in tpm_chip_register()

commit 72c91ce8523ae5828fe5e4417ae0aaab53707a08 upstream.

Fixed the rollback and gave more self-documenting names for the
functions.

Fixes: d972b0523f ("tpm: fix call order in tpm-chip.c")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/tpm/tpm-chip.c