tpm: replace tpm_get_backend_driver() to drop be_drivers
commitd91a7a575e9f4e65447c6c3c094932cd13ba1167
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 9 Oct 2017 22:55:46 +0000 (10 00:55 +0200)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 19 Oct 2017 15:42:22 +0000 (19 11:42 -0400)
tree7f21f1859f023a45134ca1932dc7f25625bcb4ac
parentf3faa1dff4dc4f3fea28ca847d57caa150c15683
tpm: replace tpm_get_backend_driver() to drop be_drivers

Use tpm_driver_find_by_type() instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
tpm.c