The tpm_dev_release function is only called for platform devices, not pnp