WiringPi: Check Device Tree first to recognize and change the referenced DT path

As of this quotes from the /sys/firmware/devicetree documents.

Userspace must not use the /sys/firmware/devicetree/base path directly,
but instead should follow /proc/device-tree symlink.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib6cd8694cf3b429297e5e7154387c1fb18716600
1 file changed