tpm: compile out unused code in the PNP and PM cases
authorKent Yoder <key@linux.vnet.ibm.com>
Thu, 9 Aug 2012 14:20:15 +0000 (09:20 -0500)
committerKent Yoder <key@linux.vnet.ibm.com>
Wed, 22 Aug 2012 16:12:03 +0000 (11:12 -0500)
commit7e72fe73bfc7e4219b8dd212026c7113f4e37f91
tree5c6af208990e86fc9e0c88ae7f05496dec1e8a87
parentdd7da132f7f04f34074efd134847a818ea29ddd7
tpm: compile out unused code in the PNP and PM cases

The tpm_tis driver doesn't use tpm_tis_resume except when PM is
configured and doesn't make use of tpm_tis_reenable_interrupts except
when PM or PNP is configured.

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
drivers/char/tpm/tpm_tis.c