From: "Oscar Alejandro Sánchez Lucero" <aleszlucero@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
"Oscar Alejandro Sánchez Lucero" <aleszlucero@gmail.com>
Subject: [PATCH 0/3] hw/sensor: Convert I2C sensor devices to Resettable interface
Date: Tue, 01 Dec 2026 15:16:47 +0000 [thread overview]
Message-ID: <20261201-sensor-resettable-v1-0-497c3be8ae80@gmail.com> (raw)
Convert the remaining I2C sensor devices in hw/sensor/ away from the
deprecated device_class_set_legacy_reset() wrapper to the
ResettableClass interface (hold phase), moving towards removing the
legacy_reset callback from DeviceClass once all callers are migrated
(as noted in include/hw/core/qdev.h).
Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
---
Oscar Alejandro Sánchez Lucero (3):
hw/sensor/dps310: Convert to Resettable interface
hw/sensor/emc141x: Convert to Resettable interface
hw/sensor/lsm303dlhc_mag: Convert to Resettable interface
hw/sensor/dps310.c | 7 ++++---
hw/sensor/emc141x.c | 7 ++++---
hw/sensor/lsm303dlhc_mag.c | 8 ++++----
3 files changed, 12 insertions(+), 10 deletions(-)
---
base-commit: 9751c62358073580cbf330a4df22077a7c6a407c
change-id: 20261201-sensor-resettable-7f7fc58e4adc
Best regards,
--
Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
next reply other threads:[~2026-12-01 15:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 15:16 Oscar Alejandro Sánchez Lucero [this message]
2026-12-01 15:16 ` [PATCH 1/3] hw/sensor/dps310: Convert to Resettable interface Oscar Alejandro Sánchez Lucero
2026-12-01 15:16 ` [PATCH 2/3] hw/sensor/emc141x: " Oscar Alejandro Sánchez Lucero
2026-12-01 15:16 ` [PATCH 3/3] hw/sensor/lsm303dlhc_mag: " Oscar Alejandro Sánchez Lucero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261201-sensor-resettable-v1-0-497c3be8ae80@gmail.com \
--to=aleszlucero@gmail.com \
--cc=philmd@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.