Re: [PATCH v2 6/8] tpm: factor out tpm_startup function

2018-03-15 Thread Jarkko Sakkinen
On Sat, 2018-03-10 at 10:24 +0200, Tomas Winkler wrote: > tpm manual startup is used only from within tpm1 or tpm2 > code, hence remove tpm_startup function from tpm-interface.c > and add two static functions implementations tpm1_startup > and tpm2_startup into to tpm1-cmd.c and tpm2-cmd.c respecti

[PATCH v2 6/8] tpm: factor out tpm_startup function

2018-03-10 Thread Tomas Winkler
tpm manual startup is used only from within tpm1 or tpm2 code, hence remove tpm_startup function from tpm-interface.c and add two static functions implementations tpm1_startup and tpm2_startup into to tpm1-cmd.c and tpm2-cmd.c respectively. Signed-off-by: Tomas Winkler --- drivers/char/tpm/tpm-i