nvdimm acpi: use common macros instead of magic names
commit3ae66c45f94fe806c58daf95142d917ad14f7afb
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Fri, 28 Oct 2016 16:11:56 +0000 (29 00:11 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Nov 2016 17:21:09 +0000 (1 19:21 +0200)
tree092cbec849518fe8ffc781312049de1d72eddee0
parentfa1a448dda87c97431d1f177075fbf00ace5f9d8
nvdimm acpi: use common macros instead of magic names

There are some names repeatedly used in acpi code, define them
as macros to refine the code

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/nvdimm.c