Hi Gerd, this is the previous patch rebased.

since v2:
- fixed an incorrectly placed assignment in ccid_card_realize()
- rebased

Regards,

Phil.

Mao Zhongyi (1):
  hw/usb/ccid: Make ccid_card_init() take an error parameter

Philippe Mathieu-Daudé (2):
  usb-ccid: inline ccid_card_initfn() in ccid_card_realize()
  usb-ccid: convert CCIDCardClass::exitfn() -> unrealize()

 hw/usb/ccid.h                 |  6 +++--
 hw/usb/ccid-card-emulated.c   | 48 ++++++++++++++++-----------------
 hw/usb/ccid-card-passthru.c   | 13 ++++-----
 hw/usb/dev-smartcard-reader.c | 63 +++++++++++++++++++------------------------
 4 files changed, 62 insertions(+), 68 deletions(-)

-- 
2.15.1


Reply via email to