Gonglei 7d553f27fc usb-bus: convert USBDeviceClass init to realize
Add "realize/unrealize" in USBDeviceClass, which has errp
as a parameter. So all the implementations now use
error_setg instead of error_report for reporting error.

Note: this patch still keep "init" in USBDeviceClass, and
call kclass->init in usb_device_realize(), avoid breaking
git bisect. After realize all usb devices, will be removed.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2014-09-23 12:51:06 +02:00
..
2014-06-02 16:29:00 +02:00
2014-06-02 16:29:00 +02:00
2014-04-22 12:40:57 +02:00
2014-08-15 18:54:06 +04:00
2014-08-15 18:54:06 +04:00
2014-02-20 15:25:05 +00:00
2013-08-30 20:14:39 +02:00
2013-02-19 12:30:05 +01:00
2013-06-20 16:39:52 +02:00