OSDN Git Service

hw/input/tsc210x: Extract common init code into new function
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 25 Apr 2022 08:21:45 +0000 (10:21 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Sep 2023 14:30:07 +0000 (16:30 +0200)
commit38e476e88e7d5294c194d36d33e12f3d936a7e6a
tree39585de4be9ec8503b00245fe927d804882424d4
parente8eed838ec93314c164bf3416d80c9c893a2e8ee
hw/input/tsc210x: Extract common init code into new function

This deduplicates several lines and will make future changes more
concise.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <1d75877cf4cc2a38f87633ff16f9fea3e1bb0c03.1650874791.git.mkletzan@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/input/tsc210x.c