tpm: sanitize constant expressions
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 19 Sep 2016 20:22:09 +0000 (23:22 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sun, 27 Nov 2016 23:31:30 +0000 (01:31 +0200)
commit84fda15286d1bcf15e1c5cfb8320c5fab770165f
treea530af6daa48f1ecc8ce0122a8b78c1b265a922e
parentaaa6f7f6c8bf1a056c1bb337578cbb2f0c50c12a
tpm: sanitize constant expressions

Use cpu_to_b32 at the time it is needed in enum tpm_capabilities and
enum tpm_sub_capabilities in order to be consistent with the other
enums in drivats/char/tpm/tpm.h.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm-interface.c
drivers/char/tpm/tpm-sysfs.c
drivers/char/tpm/tpm.h