]> git.sur5r.net Git - u-boot/commit
dm: core: Set return value first in lists_bind_fdt()
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:08:51 +0000 (20:08 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:05 +0000 (07:03 -0600)
commit01b120b6395d5be6fc0fb408df8bf8849c2c47b5
treeb4613305e78d6d9b91534e289ae2525f32b30898
parent0e513e788ff7df8c68525c8bf952eb9ef9ab7482
dm: core: Set return value first in lists_bind_fdt()

Adjust the order to make it clear that *devp is set to NULL by default.

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