Skip to content
Commit 864a4144 authored by Eugen Hristev's avatar Eugen Hristev
Browse files

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: default avatarEugen Hristev <eugen.hristev@microchip.com>
parent 63c27c3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment