The tpm_dev_release function is only called for platform devices, not pnp
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>
Fri, 10 Oct 2008 22:04:39 +0000 (09:04 +1100)
committerJames Morris <jmorris@namei.org>
Fri, 10 Oct 2008 22:04:39 +0000 (09:04 +1100)
devices, so we implemented the .remove function for pnp ones.  Since it's
code is very similar to the one inside tpm_dev_release, we've created a
helper function tpm_dev_vendor_release, which is called by both.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: "Serge E. Hallyn" <serue@us.ibm.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found