Revert "nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc"
This reverts commit 84f73c7883
.
This commit is contained in:
parent
8223ecb73a
commit
62198fea21
1 changed files with 3 additions and 3 deletions
|
@ -967,13 +967,13 @@ void nvmem_device_put(struct nvmem_device *nvmem)
|
||||||
EXPORT_SYMBOL_GPL(nvmem_device_put);
|
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.
|
* @dev: Device that requests the nvmem device.
|
||||||
* @id: name id for the requested nvmem device.
|
* @id: name id for the requested nvmem device.
|
||||||
*
|
*
|
||||||
* Return: ERR_PTR() on error or a valid pointer to a struct nvmem_device
|
* Return: ERR_PTR() on error or a valid pointer to a struct nvmem_cell
|
||||||
* on success. The nvmem_device will be freed by the automatically once the
|
* on success. The nvmem_cell will be freed by the automatically once the
|
||||||
* device is freed.
|
* device is freed.
|
||||||
*/
|
*/
|
||||||
struct nvmem_device *devm_nvmem_device_get(struct device *dev, const char *id)
|
struct nvmem_device *devm_nvmem_device_get(struct device *dev, const char *id)
|
||||||
|
|
Loading…
Reference in a new issue