diff options
author | Dan Williams <dan.j.williams@intel.com> | 2022-04-21 17:33:39 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-04-28 23:01:55 +0200 |
commit | 81beea55cb7407a52bac16f7d01a415e008c910f (patch) | |
tree | 26f02ad345068134be409162bc8c488d38aa4acb /drivers/nvdimm/region.c | |
parent | ACPI: NFIT: Drop nfit_device_lock() (diff) | |
download | linux-81beea55cb7407a52bac16f7d01a415e008c910f.tar.xz linux-81beea55cb7407a52bac16f7d01a415e008c910f.zip |
nvdimm: Drop nd_device_lock()
Now that all NVDIMM subsystem locking is validated with custom lock
classes, there is no need for the custom usage of the lockdep_mutex.
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/165055521979.3745911.10751769706032029999.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/region.c')
-rw-r--r-- | drivers/nvdimm/region.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/region.c b/drivers/nvdimm/region.c index 188560b1c110..390123d293ea 100644 --- a/drivers/nvdimm/region.c +++ b/drivers/nvdimm/region.c @@ -95,7 +95,7 @@ static void nd_region_remove(struct device *dev) nvdimm_bus_unlock(dev); /* - * Note, this assumes nd_device_lock() context to not race + * Note, this assumes device_lock() context to not race * nd_region_notify() */ sysfs_put(nd_region->bb_state); |