Skip to content
Commit 51b0d834 authored by David Gibson's avatar David Gibson
Browse files

sam460ex: Make sam460ex_load_device_tree() handle all errors internally



sam460ex_load_device_tree() handles nearly all possible errors by simply
exiting (within helper functions and macros).  It handles two early error
cases by returning an error.

There's no particular point to this, so make it handle those directly as
well, removing the need for the caller to handle a failure.  As a bonus it
gives us more specific error messages.

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent e753f331
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment