]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitc1bb7c6d04ebdf48998649100c5267a9139debf5
tree1440c7237862877945d20787589af880c30d16df
parentc280266a326ccabeb64b6d69fa4fd21faf5bf354
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