commit | c608558407aa64d2b98d58bfc116e95c0afb357e | [log] [tgz] |
---|---|---|
author | Jonas Bonn <jonas@southpole.se> | Fri Jul 23 19:19:35 2010 +0200 |
committer | Grant Likely <grant.likely@secretlab.ca> | Sat Jul 24 09:58:22 2010 -0600 |
tree | 1dba985555b1fff5ce587c6368f47383ba00ebd4 | |
parent | de48e369e8ea3a773cb2f959b76fcfad9966f4a0 [diff] |
of: make of_find_device_by_node generic There's no need for this function to be architecture specific and all four architectures defining it had the same definition. The function has been moved to drivers/of/platform.c. Signed-off-by: Jonas Bonn <jonas@southpole.se> [grant.likely@secretlab.ca: moved to drivers/of/platform.c, simplified code, and added kerneldoc comment] Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net>