From 62198fea219ab9dcbfd39ac50c270ffc69ff69e8 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:38 +0100 Subject: [PATCH] Revert "nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc" This reverts commit 84f73c78832925e217a209f47846dd9eb2454de7. --- drivers/nvmem/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index d2fa61d08..1c17c5d09 100755 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -967,13 +967,13 @@ void nvmem_device_put(struct nvmem_device *nvmem) EXPORT_SYMBOL_GPL(nvmem_device_put); /** - * devm_nvmem_device_get() - Get nvmem device of device form a given id + * devm_nvmem_device_get() - Get nvmem cell of device form a given id * * @dev: Device that requests the nvmem device. * @id: name id for the requested nvmem device. * - * Return: ERR_PTR() on error or a valid pointer to a struct nvmem_device - * on success. The nvmem_device will be freed by the automatically once the + * Return: ERR_PTR() on error or a valid pointer to a struct nvmem_cell + * on success. The nvmem_cell will be freed by the automatically once the * device is freed. */ struct nvmem_device *devm_nvmem_device_get(struct device *dev, const char *id)