summaryrefslogtreecommitdiffstats
path: root/hw/i2c/bitbang_i2c.h
diff options
context:
space:
mode:
authorMarc-André Lureau2016-10-22 12:09:41 +0200
committerPaolo Bonzini2016-10-24 15:46:10 +0200
commit3aef23d7d8ba559c6e74e931702c63b4c5e23dcd (patch)
treefb68178f0600bed8a08a8426e2a3aadc1e37f0a3 /hw/i2c/bitbang_i2c.h
parentchar: remove unused qemu_chr_fe_event (diff)
downloadqemu-3aef23d7d8ba559c6e74e931702c63b4c5e23dcd.tar.gz
qemu-3aef23d7d8ba559c6e74e931702c63b4c5e23dcd.tar.xz
qemu-3aef23d7d8ba559c6e74e931702c63b4c5e23dcd.zip
char: replace avail_connections
No need to count the users of a CharDriverState, it can rely on the fact of whether there is a CharBackend associated or if there is enough space in the muxer. Simplify and fold chr_mux_new_fe() in qemu_chr_fe_init() since there is a single user now. Also switch from fprintf to raising error instead. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20161022100951.19562-5-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i2c/bitbang_i2c.h')
0 files changed, 0 insertions, 0 deletions