summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mfd/mfd-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mfd/mfd-core.c')
-rw-r--r--kernel/drivers/mfd/mfd-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/drivers/mfd/mfd-core.c b/kernel/drivers/mfd/mfd-core.c
index 60b60dc63..022c9374c 100644
--- a/kernel/drivers/mfd/mfd-core.c
+++ b/kernel/drivers/mfd/mfd-core.c
@@ -354,6 +354,8 @@ int mfd_clone_cell(const char *cell, const char **clones, size_t n_clones)
clones[i]);
}
+ put_device(dev);
+
return 0;
}
EXPORT_SYMBOL(mfd_clone_cell);