diff options
Diffstat (limited to 'drivers/nvdimm/btt_devs.c')
-rw-r--r-- | drivers/nvdimm/btt_devs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/btt_devs.c b/drivers/nvdimm/btt_devs.c index 97dd2925ed6e..4b76af2b8715 100644 --- a/drivers/nvdimm/btt_devs.c +++ b/drivers/nvdimm/btt_devs.c | |||
@@ -314,7 +314,7 @@ int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns) | |||
314 | if (rc < 0) { | 314 | if (rc < 0) { |
315 | struct nd_btt *nd_btt = to_nd_btt(btt_dev); | 315 | struct nd_btt *nd_btt = to_nd_btt(btt_dev); |
316 | 316 | ||
317 | __nd_detach_ndns(btt_dev, &nd_btt->ndns); | 317 | nd_detach_ndns(btt_dev, &nd_btt->ndns); |
318 | put_device(btt_dev); | 318 | put_device(btt_dev); |
319 | } | 319 | } |
320 | 320 | ||