]> git.baikalelectronics.ru Git - uboot.git/commit
misc: fs_loader: Use device_get_global_by_ofnode to get to node
authorKeerthy <j-keerthy@ti.com>
Mon, 5 Nov 2018 06:04:53 +0000 (11:34 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:52:00 +0000 (16:52 -0500)
commit0b692f30e6346ffa30ff47457384afe11ac5b767
tree3e2076acbde3a54ed42ec5086a759aeaeec5e2a7
parent43a043692298a2760e6b7c7f27c9c00a4bf774e1
misc: fs_loader: Use device_get_global_by_ofnode to get to node

Instead of two staged ofnode_to_offset followed by
device_get_global_by_of_offset approach, direcly use the
device_get_global_by_ofnode to fetch the device.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/misc/fs_loader.c