Skip to content
Snippets Groups Projects
Commit 320eca5c authored by Álvaro Fernández Rojas's avatar Álvaro Fernández Rojas Committed by Daniel Schwierzeck
Browse files

cmd: cpu: refactor to ensure devices are probed and improve code style


Use uclass_first_device and uclass_next_device in order to avoid exceptions
for drivers that aren't probed when cpu ops are requested.
Improve code style and fix indentations.
Fix incorrect line break when cpu info is not available.
Remove unneeded brackets.

Signed-off-by: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 30581040
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment