dec: convert to realize()
commit33c28f3bde02e6dd69da58f9a8b7e4a50c616849
authorCao jin <caoj.fnst@cn.fujitsu.com>
Fri, 15 Jan 2016 02:23:31 +0000 (15 10:23 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 16 Feb 2016 10:05:18 +0000 (16 12:05 +0200)
treef37d3e21a92c69dbd389a2b7efdafbae60b37df4
parent4e082566a9cd17e5f00d0df85a67dc7a086d30b0
dec: convert to realize()

Also because pci_bridge_initfn() can`t fail.

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-bridge/dec.c