From: Rajiv Andrade Date: Fri, 10 Oct 2008 22:04:39 +0000 (+1100) Subject: The tpm_dev_release function is only called for platform devices, not pnp X-Git-Tag: v2.6.28-rc1~609^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253115b71fa06330bd58afbe01ccaf763a8a0cf1;p=pandora-kernel.git The tpm_dev_release function is only called for platform devices, not pnp 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 Signed-off-by: Rajiv Andrade Cc: "Serge E. Hallyn" Cc: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: James Morris --- Reading git-diff-tree failed