On 19 Jun 2026, at 13:55, [email protected] wrote:
> From: Alexander Hansen <[email protected]> > diff --git a/hw/sensor/max31790.c b/hw/sensor/max31790.c > new file mode 100644 > index 0000000000..af610376d1 > --- /dev/null > +++ b/hw/sensor/max31790.c > @@ -0,0 +1,584 @@ > +#include "qapi/error.h" > +#include "qapi/visitor.h" I do not think error.h nor visitor.h APIs are used in this file > +struct MAX31790Class { > + I2CSlaveClass parent_class; > +}; > + > +OBJECT_DECLARE_TYPE(MAX31790State, MAX31790Class, MAX31790) Maybe stick with the I2CSlaveClass as no feature is added here, with OBJECT_DECLARE_TYPED_SIMPLE(MAX31790State, MAX31790)
