commit | 318450508004a591831fdca322a163d64c9ec143 | [log] [tgz] |
---|---|---|
author | Álvaro Fernández Rojas <noltari@gmail.com> | Tue Apr 25 00:39:17 2017 +0200 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Wed May 10 16:16:09 2017 +0200 |
tree | 0533007be35332914dd3976d130f27b4627dad72 | |
parent | 842cfaf5d7f0c907e7d51099488d43ddfdc4dd80 [diff] |
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: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>