acpi, mem-hotplug: use PC_DIMM_SLOT_PROP in acpi_memory_plug_cb().
authorTang Chen <tangchen@cn.fujitsu.com>
Thu, 26 Feb 2015 01:16:43 +0000 (09:16 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 1 Mar 2015 17:33:14 +0000 (18:33 +0100)
commit1d51570166171cd85dfcd08b2eac2f02a3fda6fe
tree12be01cfd80d00275859d494b7aea68a3f5e52e2
parentf51074cdc6e750daa3b6df727d83449a7e42b391
acpi, mem-hotplug: use PC_DIMM_SLOT_PROP in acpi_memory_plug_cb().

Replace string "slot" in acpi_memory_plug_cb() with macro PC_DIMM_SLOT_PROP.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/memory_hotplug.c