commit | 864a4144ba30f405b8a8e136cffb8b3ef424058d | [log] [tgz] |
---|---|---|
author | Eugen Hristev <eugen.hristev@microchip.com> | Tue Jan 05 10:51:53 2021 +0200 |
committer | Eugen Hristev <eugen.hristev@microchip.com> | Fri Jan 22 15:09:59 2021 +0200 |
tree | b3bda2c11901b98cea318e53ba67df5f02893208 | |
parent | 63c27c3e66697db779ae4cd931f8ccfd84838ae5 [diff] |
pinctrl: at91-pio4: convert to dev_read_prop Use dev_read_prop instead of using the fdt_read_property which reads from the GD struct's fdt. This way the node is accessed via the device config instead of the global struct, which makes code more portable and GD independent. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>