commit | 58cd71b4747432b0ef3b86db1b09c12e6c97204b | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Thu Jul 21 18:05:36 2016 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Fri Jul 22 13:35:54 2016 -0700 |
tree | a99518d92af22a31392b19a5972c4622a3a7eaf0 | |
parent | bc9775d8697f57b333b6b316fb5145d6ca9dc36d [diff] |
nfit, tools/testing/nvdimm/: unify shutdown paths While testing the new on-demand ARS patches we discovered that differences between the nfit_test and normal nfit driver shutdown paths can leak resources. Unify the shutdown paths to trigger via a devm_ callback when the acpi_desc->dev is unbound from its driver. Reviewed-by: Lee, Chun-Yi <jlee@suse.com> Reported-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>