Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82595423 authored by Lee, Chun-Yi's avatar Lee, Chun-Yi Committed by Dan Williams
Browse files

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: default avatarLee, Chun-Yi <jlee@suse.com>
Acked-by: default avatarRoss Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent baa51277
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");