[POWERPC] Update documentation for of_find_node_by_type()
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 23 May 2007 08:08:13 +0000 (18:08 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 2 Jun 2007 11:01:55 +0000 (21:01 +1000)
commit5169b8a1659fef9cc093ed3d889a854945a18177
tree6e230f443c0964c63d178d0fe630ac519801827f
parentf285e3d329ce68cc355fadf4ab2c8f34d7f264cb
[POWERPC] Update documentation for of_find_node_by_type()

The documentation for of_find_node_by_type() incorrectly refers to the
"name" parameter - it should be "type".

Also the behaviour when from == NULL is not really documented, fix that.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c