rockchip: pinctrl: rk3128: convert to use live dt
Change-Id: I8d12eb6eb5d7a65da14b71a883570df82dfcc0e8 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
6ab5195b73
commit
b8a8a392a8
|
|
@ -113,8 +113,7 @@ static int rk3128_pinctrl_get_periph_id(struct udevice *dev,
|
|||
u32 cell[3];
|
||||
int ret;
|
||||
|
||||
ret = fdtdec_get_int_array(gd->fdt_blob, dev_of_offset(periph),
|
||||
"interrupts", cell, ARRAY_SIZE(cell));
|
||||
ret = dev_read_u32_array(periph, "interrupts", cell, ARRAY_SIZE(cell));
|
||||
if (ret < 0)
|
||||
return -EINVAL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue