tpm/tpm_crb: open code the crb_init into acpi_add
authorWinkler, Tomas <tomas.winkler@intel.com>
Mon, 12 Sep 2016 13:04:20 +0000 (16:04 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 16 Sep 2016 12:47:52 +0000 (15:47 +0300)
commit0c22db435bf79d3cf3089df7ff198d4867df3c27
treeb167e0063ded6f45dbf853969c27f3ba2d3d6cd0
parent9514ff1961c6f0f5983ba72d94f384bc13e0d4a1
tpm/tpm_crb: open code the crb_init into acpi_add

This is preparation step for implementing tpm crb
runtime pm. We need to have tpm chip allocated
and populated before we access the runtime handlers.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinn@linux.intel.com>
drivers/char/tpm/tpm_crb.c