]> www.infradead.org Git - users/hch/misc.git/commitdiff
nvmem: update a comment related to struct nvmem_config
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 14 Jul 2025 08:17:10 +0000 (10:17 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 14 Sep 2025 00:32:45 +0000 (17:32 -0700)
Update a comment to match the function used in nvmem_register().
ida_simple_get() was replaced by ida_alloc() in commit 1eb51d6a4fce
("nvmem: switch to simpler IDA interface")

Link: https://lkml.kernel.org/r/27a9dec93a9f79140b11a77df38b1b45bd342e09.1752480043.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/nvmem-provider.h

index 615a560d9edb84d1a5b8a1d8a374b8bf7c9c772e..f3b13da78aac94fb259652e5441c0e59d75fcc4a 100644 (file)
@@ -103,7 +103,7 @@ struct nvmem_cell_info {
  *
  * Note: A default "nvmem<id>" name will be assigned to the device if
  * no name is specified in its configuration. In such case "<id>" is
- * generated with ida_simple_get() and provided id field is ignored.
+ * generated with ida_alloc() and provided id field is ignored.
  *
  * Note: Specifying name and setting id to -1 implies a unique device
  * whose name is provided as-is (kept unaltered).