chardev/char.c: Move object_property_try_add_child out of chardev_new
commit789fd6934e1511d7e487c6277ab762189ddd05b3
authorLukas Straub <lukasstraub2@web.de>
Tue, 30 Mar 2021 18:13:25 +0000 (30 20:13 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 1 Apr 2021 11:27:44 +0000 (1 15:27 +0400)
tree47d922b4f1cb1c6aae9fa9cf32fe8d5160c341f4
parente0150291ec87234e1c3d01eb9ad4c6315f5306c4
chardev/char.c: Move object_property_try_add_child out of chardev_new

Move object_property_try_add_child out of chardev_new into it's
callers. This is a preparation for the next patches to fix yank
with the chardev-change case.

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Li Zhang <li.zhang@cloud.ionos.com>
Message-Id: <b2a5092ec681737bc3a21ea16f3c00848b277521.1617127849.git.lukasstraub2@web.de>
chardev/char.c