tpm: cleanup tpm_tis_remove()
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 31 Mar 2016 10:05:36 +0000 (13:05 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:35 +0000 (17:26 +0300)
commitd30b8e4f68ef182f8dd84c76af9f148ca5842ea3
tree9afe98d5c9fed7919bd181d19d7d0888bb741222
parent796d803070c91f6e469e212acfdd618180f59e01
tpm: cleanup tpm_tis_remove()

Created a local variable pointing to the INT_ENABLE_x register. The
expression clearing INT_ENABLE_x.globalIntEnable is unreadable and
hard to modify without surpassing the 80 char boundary.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Christophe Ricard <christophe-h.ricard@st.com>
drivers/char/tpm/tpm_tis.c