of: align RESERVEDMEM_OF_DECLARE function callbacks to other callbacks
authorRob Herring <robh@kernel.org>
Thu, 8 May 2014 21:06:17 +0000 (16:06 -0500)
committerRob Herring <robh@kernel.org>
Tue, 20 May 2014 19:25:21 +0000 (14:25 -0500)
commit9dd3107576c4bbd40e1c2c8b24d560abf9a7b991
treecc83c624d4161a1efd013a047bc75eb965dae544
parent063092883039e49e5edc1f63133dc5ad437361a2
of: align RESERVEDMEM_OF_DECLARE function callbacks to other callbacks

All the parameters for RESERVEDMEM_OF_DECLARE function callbacks are
members of struct reserved_mem, so just pass the struct ptr to callback
functions so the function callback is more in line with other OF match
table callbacks.

Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/of_reserved_mem.c
include/linux/of_reserved_mem.h