]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/misc/tmp105.c
qom: Drop parameter @errp of object_property_add() & friends
[mirror_qemu.git] / hw / misc / tmp105.c
index 75ddad3a12d0a7fa65547a6a19fae041769e500a..58dbebca905622ea958b0c8f53f4d32c7fe76669 100644 (file)
@@ -245,7 +245,7 @@ static void tmp105_initfn(Object *obj)
 {
     object_property_add(obj, "temperature", "int",
                         tmp105_get_temperature,
-                        tmp105_set_temperature, NULL, NULL, NULL);
+                        tmp105_set_temperature, NULL, NULL);
 }
 
 static void tmp105_class_init(ObjectClass *klass, void *data)