pinctrl: imx: use devfdt_get_addr_size_index
authorPeng Fan <peng.fan@nxp.com>
Tue, 6 Aug 2019 10:05:48 +0000 (10:05 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000 (16:35 +0200)
commit39ebb4187db15641117228f2579ff421cfe0df90
treeb352c9a6c90d8bd0a2e320cb423ceea9f7db9c84
parentbdcac955657b46d78f375f74bf5e7e9b29f726c2
pinctrl: imx: use devfdt_get_addr_size_index

fdtdec_get_addr_size could not parse addr/size correctly is
using address-cells 2 and size-cells 2 on an ARM32 SoC.
So switch to use devfdt_get_addr_size_index.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/pinctrl/nxp/pinctrl-imx.c