commit | ed4fdb4f5dc758e9d5bfb5582c701b08a87115a6 | [log] [tgz] |
---|---|---|
author | Nayna Jain <nayna@linux.vnet.ibm.com> | Mon Nov 14 05:00:55 2016 -0500 |
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Mon Nov 28 01:31:32 2016 +0200 |
tree | ead60c5ad59c986b9db67b537d7b0b117ee9c134 | |
parent | 02ae1382882f08c5804b996ca9c8d79b399dbe36 [diff] |
tpm: replace of_find_node_by_name() with dev of_node property Using the device of_node property is a better way to refer to the device tree node rather than of_find_node_by_name(). Suggested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>