qemu/hw/input
Marc-André Lureau 4f67d30b5e qdev: set properties with device_class_set_props()
The following patch will need to handle properties registration during
class_init time. Let's use a device_class_set_props() setter.

spatch --macro-file scripts/cocci-macro-file.h  --sp-file
./scripts/coccinelle/qdev-set-props.cocci --keep-comments --in-place
--dir .

@@
typedef DeviceClass;
DeviceClass *d;
expression val;
@@
- d->props = val
+ device_class_set_props(d, val)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200110153039.1379601-20-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-24 20:59:15 +01:00
..
adb-internal.h Supply missing header guards 2019-06-12 13:20:21 +02:00
adb-kbd.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
adb-mouse.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
adb.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
hid.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
Kconfig hw/input: Add a CONFIG_PS2 switch for the ps2.c file 2019-05-15 11:56:53 +02:00
lm832x.c hw/input/lm832x: Convert reset handler to DeviceReset 2019-10-15 18:18:08 -03:00
Makefile.objs hw/input: Add a CONFIG_PS2 switch for the ps2.c file 2019-05-15 11:56:53 +02:00
milkymist-softusb.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pckbd.c vmmouse: replace PROP_PTR with PROP_LINK 2020-01-07 17:24:29 +04:00
pl050.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ps2.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
pxa2xx_keypad.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
stellaris_input.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
trace-events trace-events: Fix attribution of trace points to source 2019-03-22 16:18:07 +00:00
tsc210x.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
tsc2005.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
vhost-user-input.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
virtio-input-hid.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
virtio-input-host.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
virtio-input.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00