tpm, tpm_tis: use ARRAY_SIZE() to define TPM_HID_USR_IDX
authorJérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Sun, 1 Oct 2017 19:30:51 +0000 (15:30 -0400)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 18 Oct 2017 15:28:49 +0000 (18:28 +0300)
commit33957a104c86985f087b08a363590a948c9ff08c
treef5d4c5a426ea48f44ba8eac7ee4ab76c0c35c7c0
parent2d56c71835acc9d69b402f7027091920306daf83
tpm, tpm_tis: use ARRAY_SIZE() to define TPM_HID_USR_IDX

Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_tis.c