diff options
author | Tom Rini <trini@konsulko.com> | 2020-12-02 11:35:02 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-12-02 11:35:02 -0500 |
commit | a2c832471115d382d6dd60697be5bc74d2636eea (patch) | |
tree | e423f7bee7cdc889184efbe2bbed407559182f8f /drivers/gpio | |
parent | 0719bf42931033c3109ecc6357e8adb567cb637b (diff) | |
parent | 7292a18256252e41970eceacd5ccd3ed79ea64f0 (diff) |
Merge branch '2020-12-01-next-imports' into next
- More IPQ40xx improvements
- Add string support to setexpr (and tests)
- ProxyDHCP support
- Assorted cleanups
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-uclass.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index 0c01413b58..4785b6b34a 100644 --- a/drivers/gpio/gpio-uclass.c +++ b/drivers/gpio/gpio-uclass.c @@ -1100,9 +1100,8 @@ int gpio_get_list_count(struct udevice *dev, const char *list_name) { int ret; - ret = fdtdec_parse_phandle_with_args(gd->fdt_blob, dev_of_offset(dev), - list_name, "#gpio-cells", 0, -1, - NULL); + ret = dev_read_phandle_with_args(dev, list_name, "#gpio-cells", 0, -1, + NULL); if (ret) { debug("%s: Node '%s', property '%s', GPIO count failed: %d\n", __func__, dev->name, list_name, ret); |