Add ADM1272 device to i2c h2mon new_device list
Tested: JSON configuration of { "Type": "ADM1272" } works,
similar to the others following this pattern.
The ADM1272 device already exists in dbus-sensors,
so no corresponding change to dbus-sensors is necessary.
Signed-off-by: Josh Lehan <krellan@google.com>
Change-Id: I0211e8b9c31004413c5773410ea31a1f01715687
diff --git a/include/devices.hpp b/include/devices.hpp
index 5397176..f15fc51 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -42,6 +42,9 @@
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"24C64", ExportTemplate("24c64 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+ {"ADM1272",
+ ExportTemplate("adm1272 $Address",
+ "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"EEPROM", ExportTemplate("eeprom $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"EMC1413",