qom: Make all the object_property_add_FOO() return the property
commit702518877220187a858da1a6ba08d53995dc6e2f
authorMarkus Armbruster <armbru@redhat.com>
Tue, 5 May 2020 15:29:14 +0000 (5 17:29 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 15 May 2020 04:26:02 +0000 (15 06:26 +0200)
tree69164a875f0c40ce027e8142512787204391139d
parent44a17fe05a363d0f94cd0706fbe64cb4524adf54
qom: Make all the object_property_add_FOO() return the property

Some object_property_add_FOO() return the newly added property, some
don't.  Clean that up.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200505152926.18877-7-armbru@redhat.com>
include/qom/object.h
qom/object.c