History | View | Annotate | Download (1 kB)
tmp105: Split out I2C message constants from header
Allows value sharing with qtest.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tmp105: QOM'ify
Introduce TYPE_ constant and cast macro.Move the state struct to the new header to allow for future embedding.
tmp105: Add temperature QOM property
This obsoletes tmp105_set() and allows for better error handling.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tmp105: Create API for TMP105 temperature sensor.
Reviewed-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Alex Horn <alex.horn@cs.ox.ac.uk>...