if (pdev) { tpm_atml_remove(&pdev->dev); platform_device_unregister(pdev); kfree(pdev); pdev = NULL; }
static void __exit cleanup_atmel(void){	if (pdev) {		tpm_atml_remove(&pdev->dev);		platform_device_unregister(pdev);		kfree(pdev);		pdev = NULL;	}	driver_unregister(&atml_drv);}