All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] hw/sensor: Convert I2C sensor devices to Resettable interface
@ 2026-12-01 15:16 Oscar Alejandro Sánchez Lucero
  2026-12-01 15:16 ` [PATCH 1/3] hw/sensor/dps310: Convert " Oscar Alejandro Sánchez Lucero
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Oscar Alejandro Sánchez Lucero @ 2026-12-01 15:16 UTC (permalink / raw)
  To: qemu-devel
  Cc: Philippe Mathieu-Daudé, Oscar Alejandro Sánchez Lucero

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>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-01 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 15:16 [PATCH 0/3] hw/sensor: Convert I2C sensor devices to Resettable interface Oscar Alejandro Sánchez Lucero
2026-12-01 15:16 ` [PATCH 1/3] hw/sensor/dps310: Convert " 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

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.