qom: update doc comment for type_register[_static]()
commit31b93521924dddb22621f8dba27cdce802406eb3
authorIgor Mammedov <imammedo@redhat.com>
Wed, 4 Oct 2017 10:08:00 +0000 (4 12:08 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 10 Oct 2017 02:21:52 +0000 (9 23:21 -0300)
tree593c3c1aa6bc21b76bcd8ca6f50612fcfb02da23
parente5766d6ec7524345f4c0fa284c065b68c5e93049
qom: update doc comment for type_register[_static]()

type_register()/type_register_static() functions in current impl.
can't fail returning 0, also none of the users check for error
so update doc comment to reflect current behaviour.

Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1507111682-66171-2-git-send-email-imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/qom/object.h