vTPM: fix searching for the right vTPM node in device tree
authorHon Ching \(Vicky\) Lo <honclo@linux.vnet.ibm.com>
Thu, 8 Oct 2015 00:11:52 +0000 (20:11 -0400)
committerPeter Huewe <peterhuewe@gmx.de>
Sun, 18 Oct 2015 23:01:22 +0000 (01:01 +0200)
commit2f82e98265e0a46e122ee2a035450d065dbd0f4f
treec9a6bd9b38d4dceddf0438ef2e12c2a221404823
parent89adb83c5a378618ed67a1cf4c2c2061364b4d10
vTPM: fix searching for the right vTPM node in device tree

Replace all occurrences of '/ibm,vtpm' with '/vdevice/vtpm',
as only the latter is guanranteed to be available for the client OS.
The '/ibm,vtpm' node should only be used by Open Firmware, which
is susceptible to changes.

Signed-off-by: Hon Ching(Vicky) Lo <honclo@linux.vnet.ibm.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
arch/powerpc/kernel/prom_init.c
drivers/char/tpm/tpm_of.c