]> git.proxmox.com Git - mirror_qemu.git/commit
hw/input/lm832x: Convert reset handler to DeviceReset
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 10 Oct 2019 13:15:26 +0000 (15:15 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 15 Oct 2019 21:18:08 +0000 (18:18 -0300)
commitf7030d0031d6a350d191178605b9c218457acbcd
tree4c253d215f70205a096cff288a4671476d31d0cb
parent9dc1a7699d52c9086950e7a64f0cbc657b70b645
hw/input/lm832x: Convert reset handler to DeviceReset

The LM8323 key-scan controller is a I2C device, it will be reset
when the I2C bus it stands on is reset.

Convert its reset handler into a proper Device reset method.

Reviewed-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191010131527.32513-8-philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/input/lm832x.c