of: introduce of_parse_phandle_with_fixed_args
authorStephen Warren <swarren@nvidia.com>
Wed, 14 Aug 2013 21:27:10 +0000 (15:27 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 16 Feb 2015 02:34:53 +0000 (11:34 +0900)
commitf35c0937c4c7abbf596c199bab351b44b6afc1ae
treeb54a225ec28727b5b8a24392e27d0cc8e2008a03
parent73ed9316b2b8238b7dc16791a2e99d259ab70040
of: introduce of_parse_phandle_with_fixed_args

This is identical to of_parse_phandle_with_args(), except that the
number of argument cells is fixed, rather than being parsed out of the
node referenced by each phandle.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
(cherry picked from commit 035fd9482274bf43858b00e0ff95179af66df8e8)
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/of/base.c
include/linux/of.h