commit | e2af1f561168897de43b179e5b9d513392721eff | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sun Jul 23 22:41:46 2017 +0300 |
committer | Rob Herring <robh@kernel.org> | Mon Jul 24 10:00:52 2017 -0500 |
tree | 2392edc5a458df18577ec9618be7f756e40fd217 | |
parent | 56134e3c649b97085df50fe85ae479e3d3a87d7f [diff] |
of_pci: use of_property_read_u32_array() of_pci_get_devfn() and of_pci_parse_bus_range() somehow didn't use of_property_read_u32_array() though it was long available, basically open-coding it. Using the modern DT API saves several bytes and also adds some prop sanity checks as a bonus... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Rob Herring <robh@kernel.org>