As pointed out by Jonathan Corbet, the timer must be deleted before
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>
Fri, 10 Oct 2008 22:05:20 +0000 (09:05 +1100)
committerJames Morris <jmorris@namei.org>
Fri, 10 Oct 2008 22:05:20 +0000 (09:05 +1100)
commit4bdec11f560b8f405a011288a50e65b1a81b3654
tree92a8ad51fd1fa3a8dd4d2638cd6b20974cd0b15e
parent15c220d003f7914aab99cdb71cd7834a0c9b4557
As pointed out by Jonathan Corbet, the timer must be deleted before
flushing the work queue in order to avoid a job being submitted after the
chip had been released.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: "Serge E. Hallyn" <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>
drivers/char/tpm/tpm.c