]> git.baikalelectronics.ru Git - kernel.git/commit
of: Minor simplification for the of_parse_phandles_with_args()
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 5 Dec 2008 08:15:39 +0000 (08:15 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 21 Dec 2008 03:21:14 +0000 (14:21 +1100)
commit9c4fd8cb3bdd52ae630b1c686b7de7c4a911cb15
tree1440c7237862877945d20787589af880c30d16df
parent1ee3e82ffe5fb2733632ce14f99bf4022a744352
of: Minor simplification for the of_parse_phandles_with_args()

By using 'list++' in the beginning we can simplify the code a
little bit.

Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/of/base.c