linux-next: manual merge of the nvmem tree with the char-misc tree

From: Mark Brown

Date: Fri Dec 04 2026 - 11:08:59 EST


Hi all,

Today's linux-next merge of the nvmem tree got a conflict in:

drivers/nvmem/core.c

between commits:

ed86af5dba81f ("nvmem: don't use devres in subsystem code")
cd6984bf99b34 ("nvmem: exclude disconnected providers from callback admission")

from the char-misc tree and commit:

96139b973a2a5 ("nvmem: don't use devres in subsystem code")

from the nvmem tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --combined drivers/nvmem/core.c
index 1b09f5ee27cae,b5af34e523b67..0000000000000
--- a/drivers/nvmem/core.c
+++ b/drivers/nvmem/core.c
@@@ -1144,6 -1144,7 +1144,6 @@@ void nvmem_unregister(struct nvmem_devi
nvmem_sysfs_remove_compat(nvmem);
nvmem_destroy_layout(nvmem);
nvmem_sysfs_remove_cells(nvmem);
- kfree(ops);

device_unregister(&nvmem->dev);
}

Attachment: signature.asc
Description: PGP signature