dm: cpu: Test against cpu_ops->get_info in cpu_get_info()
authorBin Meng <bmeng.cn@gmail.com>
Fri, 12 Jun 2015 06:52:19 +0000 (14:52 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:15 +0000 (18:03 -0600)
commitcb5cbfd503d38bfe963ebd52da958563c636709d
tree6e8f607b11ee25c9e650e6e8bdbdfb30f969c04c
parent166c3984e6b1271c2e31ff0528ad65aadc913860
dm: cpu: Test against cpu_ops->get_info in cpu_get_info()

In cpu_get_info() it wrongly tests against cpu_ops->get_desc to see
if it is NULL. It should test against cpu_ops->get_info.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/cpu/cpu-uclass.c