aboutsummaryrefslogtreecommitdiff
path: root/hw/tmp105.h
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2013-01-16 01:57:59 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-01-16 12:14:20 -0600
commiteb60d1c55268f489b32e6b694e84e2017b75a3d3 (patch)
tree6820987d46b77bd158f050204d63cd90c1788aae /hw/tmp105.h
parent2aad80eeb788c7c3f71c57e78352f0fdadf8fe28 (diff)
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>
Diffstat (limited to 'hw/tmp105.h')
-rw-r--r--hw/tmp105.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/hw/tmp105.h b/hw/tmp105.h
index c21396f500..d2189191e2 100644
--- a/hw/tmp105.h
+++ b/hw/tmp105.h
@@ -44,19 +44,4 @@ typedef struct TMP105State {
uint8_t alarm;
} TMP105State;
-/**
- * tmp105_set:
- * @i2c: dispatcher to TMP105 hardware model
- * @temp: temperature with 0.001 centigrades units in the range -40 C to +125 C
- *
- * Sets the temperature of the TMP105 hardware model.
- *
- * Bits 5 and 6 (value 32 and 64) in the register indexed by TMP105_REG_CONFIG
- * determine the precision of the temperature. See Table 8 in the data sheet.
- *
- * @see_also: I2C_SLAVE macro
- * @see_also: http://www.ti.com/lit/gpn/tmp105
- */
-void tmp105_set(I2CSlave *i2c, int temp);
-
#endif