Revert "CHROMIUM: tpm: move shutdown logic from common code"

This reverts commit e271357955284f5cdff4304817b0de405f97099d.

The patch caused kernel panic on reboot and shutdown.

[  464.379733] BUG: unable to handle kernel NULL pointer dereference at 0000000000000048
[  464.379748] IP: tpm_transmit+0x209/0x4d1

Panic is at /src/third_party/kernel/v4.14/drivers/char/tpm/tpm-interface.c:451

        if (chip->ops->clk_enable != NULL)

BUG=b:111172775
TEST=verify there is no kernel panic on reboot and shutdown

Change-Id: Ia91be7f7111b46adb0801cf194b5934e7ef7a952
Signed-off-by: Wenkai Du <wenkai.du@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/1127446
Commit-Ready: Justin TerAvest <teravest@chromium.org>
Tested-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
3 files changed