commit | c6406d8fbb014bebdfb5bf3c244548958aec7379 | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Tue Mar 17 16:15:08 2015 +1100 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Mar 24 13:15:53 2015 +1100 |
tree | d472e1f82ffcaec3d9dd03bd34f11fdea21fdb96 | |
parent | 0bd785873c6a6c9bd50d2ae19862f69ee5759fb9 [diff] |
powerpc/eeh: Remove device_node dependency The patch removes struct eeh_dev::dn and the corresponding helper functions: eeh_dev_to_of_node() and of_node_to_eeh_dev(). Instead, eeh_dev_to_pdn() and pdn_to_eeh_dev() should be used to get the pdn, which might contain device_node on PowerNV platform. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>