Searched refs:tpm_device (Results 1 – 1 of 1) sorted by relevance
763 struct platform_device *tpm_device; in viper_tpm_init() local776 tpm_device = platform_device_alloc("i2c-gpio", 2); in viper_tpm_init()777 if (tpm_device) { in viper_tpm_init()778 if (!platform_device_add_data(tpm_device, in viper_tpm_init()781 if (platform_device_add(tpm_device)) { in viper_tpm_init()797 kfree(tpm_device); in viper_tpm_init()