diff options
author | Marc-André Lureau | 2018-12-04 15:20:07 +0100 |
---|---|---|
committer | Eduardo Habkost | 2018-12-11 18:45:22 +0100 |
commit | 3650b2de3418daf38960a1d87f6ce1f1bf80183c (patch) | |
tree | 0c1ab4967bfd17df8ce7e50f8e4dabab7a89a533 /hw/misc/imx25_ccm.c | |
parent | qom: make interface types abstract (diff) | |
download | qemu-3650b2de3418daf38960a1d87f6ce1f1bf80183c.tar.gz qemu-3650b2de3418daf38960a1d87f6ce1f1bf80183c.tar.xz qemu-3650b2de3418daf38960a1d87f6ce1f1bf80183c.zip |
qom: make user_creatable_complete() specific to UserCreatable
Instead of accepting any Object*, change user_creatable_complete() to
require a UserCreatable*. Modify the callers to pass the appropriate
argument, removing redundant dynamic cast checks in object creation.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20181204142023.15982-4-marcandre.lureau@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/misc/imx25_ccm.c')
0 files changed, 0 insertions, 0 deletions