diff options
author | Mark Brown <broonie@kernel.org> | 2023-05-24 00:03:49 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-24 00:03:49 +0200 |
commit | 90d0d6009c0f6b0693ac58096c655a2df61e0d50 (patch) | |
tree | b076f02b48dc57f295981e27965bb28e571b5cbc /drivers/base | |
parent | regmap-irq: Cleanups and remove unused (diff) | |
parent | Linux 6.4-rc3 (diff) | |
download | linux-90d0d6009c0f6b0693ac58096c655a2df61e0d50.tar.xz linux-90d0d6009c0f6b0693ac58096c655a2df61e0d50.zip |
regmap: Merge up v6.4-rc3
Merge up v6.4-rc3 to get fixes which make my CI more stable.
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/class.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index ac1808d1a2e8..05d9df90f621 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c @@ -320,6 +320,7 @@ void class_dev_iter_init(struct class_dev_iter *iter, const struct class *class, start_knode = &start->p->knode_class; klist_iter_init_node(&sp->klist_devices, &iter->ki, start_knode); iter->type = type; + iter->sp = sp; } EXPORT_SYMBOL_GPL(class_dev_iter_init); @@ -361,6 +362,7 @@ EXPORT_SYMBOL_GPL(class_dev_iter_next); void class_dev_iter_exit(struct class_dev_iter *iter) { klist_iter_exit(&iter->ki); + subsys_put(iter->sp); } EXPORT_SYMBOL_GPL(class_dev_iter_exit); |