XScale: restore_context() cleanup
commit892604bc7e6b332cf3b0bf6c2586cbd0f54ec8ef
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 1 Dec 2009 03:14:19 +0000 (30 19:14 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 1 Dec 2009 03:14:19 +0000 (30 19:14 -0800)
tree0858d20954c57eca27e6c35c0f39951155fd9db0
parentda7c202b5751c1420be6725c6eb456a2f723ba74
XScale: restore_context() cleanup

Clean up two aspects to this routine:  bad naming, since it
doesn't restore the context, just the banked registers; and
excess indentation for the bulk of the code.

Also make some of its call sites stash the function's return
code; someday they should use it for error checking.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/xscale.c