Wei Yang 1b8fff5758 nvdimm: use NVDIMM_ACPI_IO_LEN for the proper IO size
The IO range is defined to 4 bytes with NVDIMM_ACPI_IO_LEN, so it is
more proper to use this macro instead of calculating it by sizeof.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190227075101.6263-4-richardw.yang@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
2019-03-12 22:31:21 -04:00
..
2019-03-12 16:45:13 +00:00
2019-03-12 14:33:05 +11:00
2019-03-12 15:25:46 +00:00
2019-03-12 16:45:13 +00:00
2019-03-12 14:33:05 +11:00
2019-03-12 14:33:05 +11:00
2019-03-12 12:29:53 +00:00
2019-03-11 16:33:49 +01:00
2019-03-12 13:37:29 +00:00