On Thu, 20 Oct 2016 15:47:54 -0200
Eduardo Habkost <ehabk...@redhat.com> wrote:

> Replace direct assignment of DeviceClass::props with a
> device_class_set_props() function. The new function will handle
> registration of class properties, later.
> 
> Except for manual conversion of target-ppc/translate_init.c, the
> existing code was converted using the following Coccinelle patch:

Patch doesn't apply to current master anymore with multiple conflicts,
it needs to be regenerated.

>   @@
>   identifier DC;
>   expression PROPS;
>   typedef DeviceClass;
>   @@
>    DeviceClass *DC;
>    ...
>   -DC->props = PROPS;
>   +device_class_set_props(DC, PROPS);
> 
> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com>


Reply via email to