qemu-e2k/hw/intc
Eric Blake d7bce9999d qom: Swap 'name' next to visitor in ObjectPropertyAccessor
Similar to the previous patch, it's nice to have all functions
in the tree that involve a visitor and a name for conversion to
or from QAPI to consistently stick the 'name' parameter next
to the Visitor parameter.

Done by manually changing include/qom/object.h and qom/object.c,
then running this Coccinelle script and touching up the fallout
(Coccinelle insisted on adding some trailing whitespace).

    @ rule1 @
    identifier fn;
    typedef Object, Visitor, Error;
    identifier obj, v, opaque, name, errp;
    @@
     void fn
    - (Object *obj, Visitor *v, void *opaque, const char *name,
    + (Object *obj, Visitor *v, const char *name, void *opaque,
       Error **errp) { ... }

    @@
    identifier rule1.fn;
    expression obj, v, opaque, name, errp;
    @@
     fn(obj, v,
    -   opaque, name,
    +   name, opaque,
        errp)

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1454075341-13658-20-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2016-02-08 17:29:56 +01:00
..
allwinner-a10-pic.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
apic_common.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
apic.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
arm_gic_common.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
arm_gic_kvm.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
arm_gic.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
arm_gicv2m.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
arm_gicv3_common.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
arm_gicv3_kvm.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
armv7m_nvic.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
bcm2835_ic.c bcm2835_ic: add bcm2835 interrupt controller 2016-02-03 15:00:44 +00:00
bcm2836_control.c bcm2836_control: add bcm2836 ARM control logic 2016-02-03 15:00:45 +00:00
etraxfs_pic.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
exynos4210_combiner.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
exynos4210_gic.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
gic_internal.h
grlib_irqmp.c
heathrow_pic.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
i8259_common.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
i8259.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
imx_avic.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
ioapic_common.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
ioapic.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
lm32_pic.c
Makefile.objs bcm2836_control: add bcm2836 ARM control logic 2016-02-03 15:00:45 +00:00
omap_intc.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
openpic_kvm.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
openpic.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
pl190.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
puv3_intc.c
realview_gic.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
s390_flic_kvm.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
s390_flic.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
sh_intc.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
slavio_intctl.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00
vgic_common.h
xics_kvm.c
xics.c qom: Swap 'name' next to visitor in ObjectPropertyAccessor 2016-02-08 17:29:56 +01:00
xilinx_intc.c hw/intc: Clean up includes 2016-01-29 15:07:24 +00:00