Commit b577fafc authored by Brian Norris's avatar Brian Norris Committed by Greg Kroah-Hartman

nvmem: fix nvmem_cell_read() return type doc

nvmem_cell_read() returns void *, not char *. This is a cleanup that got
left out of commit a6c50912 ("nvmem: Declare nvmem_cell_read()
consistently").
Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
Fixes: a6c50912 ("nvmem: Declare nvmem_cell_read() consistently")
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 14ba9728
......@@ -981,8 +981,8 @@ static int __nvmem_cell_read(struct nvmem_device *nvmem,
* @cell: nvmem cell to be read.
* @len: pointer to length of cell which will be populated on successful read.
*
* Return: ERR_PTR() on error or a valid pointer to a char * buffer on success.
* The buffer should be freed by the consumer with a kfree().
* Return: ERR_PTR() on error or a valid pointer to a buffer on success. The
* buffer should be freed by the consumer with a kfree().
*/
void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment