acpi, nfit: Remove ecc_unit_size
authorDan Williams <dan.j.williams@intel.com>
Sun, 3 Jun 2018 19:49:15 +0000 (12:49 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jun 2018 19:49:15 +0000 (12:49 -0700)
commitd4dd70915ea82b7196108c1f0102bc09295c4513
tree5263282c2708abe191a973bce958fcf0004a3a25
parentd76401ade0bb6ab0a70dea317ec115d5425880cf
acpi, nfit: Remove ecc_unit_size

The "Clear Error Unit" may be smaller than the ECC unit size on some
devices. For example, poison may be tracked at 64-byte alignment even
though the ECC unit is larger. Unless / until the ACPI specification
provides a non-ambiguous way to communicate this property do not expose
this to userspace.

Software that had been using this property must already be prepared for
the case where the property is not provided on older kernels, so it is
safe to remove this attribute.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Documentation/ABI/removed/sysfs-bus-nfit [new file with mode: 0644]
Documentation/ABI/testing/sysfs-bus-nfit
drivers/acpi/nfit/core.c