atmel: Fix up use of dm_scan_fdt_node()
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 23:18:06 +0000 (17:18 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:03 +0000 (07:03 -0600)
commit79fc0c784d35c1eeb3053e6458406c9280910cd2
tree4cb1195bf8b901d6450b3e3c84e2cb5061b2afd2
parenta821c4af79e4f5ce9b629b20473863397bbe9b10
atmel: Fix up use of dm_scan_fdt_node()

This function should not be used outside the core driver-model code.
Update it to use dm_scan_fdt_dev() instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/atmel_pio4.c