Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

nvmem: update a comment related to struct nvmem_config

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>

authored by

Christophe JAILLET and committed by
Andrew Morton
baa96bcb c8a09fc9

+1 -1
+1 -1
include/linux/nvmem-provider.h
··· 103 103 * 104 104 * Note: A default "nvmem<id>" name will be assigned to the device if 105 105 * no name is specified in its configuration. In such case "<id>" is 106 - * generated with ida_simple_get() and provided id field is ignored. 106 + * generated with ida_alloc() and provided id field is ignored. 107 107 * 108 108 * Note: Specifying name and setting id to -1 implies a unique device 109 109 * whose name is provided as-is (kept unaltered).