ACPI: NFIT: Remove unnecessary .remove callback
authorMichal Wilczynski <michal.wilczynski@intel.com>
Mon, 3 Jul 2023 08:02:51 +0000 (11:02 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 14 Jul 2023 16:58:35 +0000 (18:58 +0200)
commit1c28250403ae25da150346de86e96322318339e5
treed317cb3f7cb1414c1429aa63506f3197cd3169be
parentdcca12ab62a27cc190335161bae39f4593f708ba
ACPI: NFIT: Remove unnecessary .remove callback

The ACPI NFIT driver provides an empty function as it's .remove() callback
which is not necessary, so drop the empty acpi_nfit_remove() and the
.remove() callback initialization from it.

Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/nfit/core.c