summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLee, Chun-Yi <joeyli.kernel@gmail.com>2016-01-21 20:32:10 +0800
committerDan Williams <dan.j.williams@intel.com>2016-04-11 11:11:38 -0700
commit8259542348d93da6a04eed979047b1fd1ca72abe (patch)
tree56c17d0a56c8a15648688d500148213da82d6105 /drivers/acpi
parentbaa51277cf5dc844089ea2f6e0f78b1c5ca665d8 (diff)
downloadblackbird-op-linux-8259542348d93da6a04eed979047b1fd1ca72abe.tar.gz
blackbird-op-linux-8259542348d93da6a04eed979047b1fd1ca72abe.zip
libnvdimm, nfit: Use ACPI_SIG_NFIT instead of hard coded string
It's minor but that's still better to use ACPI_SIG_NFIT instead of hard coded string. Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Lee, Chun-Yi <jlee@suse.com> Acked-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/nfit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/nfit.c b/drivers/acpi/nfit.c
index db0f806b8388..a434b58c5e11 100644
--- a/drivers/acpi/nfit.c
+++ b/drivers/acpi/nfit.c
@@ -2372,7 +2372,7 @@ static int acpi_nfit_add(struct acpi_device *adev)
acpi_size sz;
int rc;
- status = acpi_get_table_with_size("NFIT", 0, &tbl, &sz);
+ status = acpi_get_table_with_size(ACPI_SIG_NFIT, 0, &tbl, &sz);
if (ACPI_FAILURE(status)) {
/* This is ok, we could have an nvdimm hotplugged later */
dev_dbg(dev, "failed to find NFIT at startup\n");
OpenPOWER on IntegriCloud