diff options
author | Lee, Chun-Yi <joeyli.kernel@gmail.com> | 2016-01-21 07:32:10 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-04-11 14:11:38 -0400 |
commit | 8259542348d93da6a04eed979047b1fd1ca72abe (patch) | |
tree | 56c17d0a56c8a15648688d500148213da82d6105 | |
parent | baa51277cf5dc844089ea2f6e0f78b1c5ca665d8 (diff) |
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>
-rw-r--r-- | drivers/acpi/nfit.c | 2 |
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) | |||
2372 | acpi_size sz; | 2372 | acpi_size sz; |
2373 | int rc; | 2373 | int rc; |
2374 | 2374 | ||
2375 | status = acpi_get_table_with_size("NFIT", 0, &tbl, &sz); | 2375 | status = acpi_get_table_with_size(ACPI_SIG_NFIT, 0, &tbl, &sz); |
2376 | if (ACPI_FAILURE(status)) { | 2376 | if (ACPI_FAILURE(status)) { |
2377 | /* This is ok, we could have an nvdimm hotplugged later */ | 2377 | /* This is ok, we could have an nvdimm hotplugged later */ |
2378 | dev_dbg(dev, "failed to find NFIT at startup\n"); | 2378 | dev_dbg(dev, "failed to find NFIT at startup\n"); |