ofnode: Replace of_n_addr_cells with of_n_size_cells
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 1 Oct 2018 10:37:19 +0000 (12:37 +0200)
committerSimon Glass <sjg@chromium.org>
Mon, 8 Oct 2018 13:34:34 +0000 (07:34 -0600)
commit51cb9275040b725b977de4ce709fe167ef169023
tree9db145b506503f604ec4c3ebac2ccb57197f64d4
parent11ae93eef40c09280f36104b6a8cf5d807f0bb0d
ofnode: Replace of_n_addr_cells with of_n_size_cells

The size should be decoded using of_n_size_cells(), make it so.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c