diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-02-04 18:33:03 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-02-24 00:19:05 +0100 |
commit | cd7c50a48dd484637aec36c351728ad0f140805a (patch) | |
tree | 8b8fcfdc96d5e3dac66ba41cd78f47babb2fb5a3 /hw/alpha | |
parent | e25b89e5208564220b9ea3a728f899b37ff6dc2d (diff) |
leon3: Replace unchecked qdev_init() by qdev_init_nofail()
grlib_irqmp_create(), grlib_gptimer_create() and
grlib_apbuart_create() are helpers to create and realize GRLIB
devices. Their only caller leon3_generic_hw_init() doesn't check for
failure. Only the first can actually fail, and only when the caller
fails to set up a pointer property, which is a programming error.
Replace qdev_init() by qdev_init_nofail().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/alpha')
0 files changed, 0 insertions, 0 deletions