Skip to content

Commit baa96bc

Browse files
tititiou36akpm00
authored andcommitted
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 1eb51d6 ("nvmem: switch to simpler IDA interface") Link: https://lkml.kernel.org/r/27a9dec93a9f79140b11a77df38b1b45bd342e09.1752480043.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent c8a09fc commit baa96bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/nvmem-provider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ struct nvmem_cell_info {
103103
*
104104
* Note: A default "nvmem<id>" name will be assigned to the device if
105105
* 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.
107107
*
108108
* Note: Specifying name and setting id to -1 implies a unique device
109109
* whose name is provided as-is (kept unaltered).

0 commit comments

Comments
 (0)