nvdimm acpi: use aml_name_decl to define named object
commitaef056c11d082fcde44c5cbd3f91548738c220a8
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Mon, 7 Nov 2016 11:13:48 +0000 (7 19:13 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Nov 2016 15:20:37 +0000 (15 17:20 +0200)
tree7d1cca5abe59b61f4f55d2fc9ebce132cfae517b
parent5a33db78b0f3ee808a3d8dd5c427edfbe80bdc73
nvdimm acpi: use aml_name_decl to define named object

to make the code more clearer

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>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/acpi/nvdimm.c