From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 903D2191F88; Tue, 10 Sep 2024 10:03:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725962633; cv=none; b=RJvoG4ng8dAtXlPEBGPXXZSG1FmBs8gpkGUSSNz/eaAy2rMIAnz6tvcfRdKxwVmYam2sWJEFRRNhdiUX1ApoiGRWLixWHxNVNYzgB7PqnGhz1H3gbFLh+HLVZ1c8oH+WvcwWXy3gSw+OJ52iacA+KwpnnMsuFeXz08/mtsW51q0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725962633; c=relaxed/simple; bh=Dh9r38K4pEgDV4VDKxaC/8MrhM76XMmjzVZJ3OOCG8E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=my5+4sxTrZ5kJEkZETbtX0uvUkGhvbUMQSzMK2UHysOPGGuAk2NsN3aeqz1LRJRO8ULYC0QNbz7lBLSbr1T3Fs+Ea8vjUImDRvqE2hC8xWnMWpM5IdVQeaJOwRB+HtXL4nmez7umvp+GafIMfMV9OH2r4iP/6QY3BV5QtHp2DFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1FPK/bj+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1FPK/bj+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B799EC4CED1; Tue, 10 Sep 2024 10:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725962633; bh=Dh9r38K4pEgDV4VDKxaC/8MrhM76XMmjzVZJ3OOCG8E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1FPK/bj+MC+IIO2uEUjRajn5EJxWG2c2r0vECZ0+sB9c0fHvgdKLHfKJVh1euxvcq I1LR2UF9AlC7wWYQZVkOvelzZ/b0fk9SRpkn8/5NRUd9GGnoys/oPBgLci40BpKO31 LVy4EyhikLPlmmx7rI1BvcnoaEPbABFvDg7exQUU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable , Geert Uytterhoeven , Srinivas Kandagatla Subject: [PATCH 5.4 100/121] nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc Date: Tue, 10 Sep 2024 11:32:55 +0200 Message-ID: <20240910092550.588695652@linuxfoundation.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240910092545.737864202@linuxfoundation.org> References: <20240910092545.737864202@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Geert Uytterhoeven commit c69f37f6559a8948d70badd2b179db7714dedd62 upstream. devm_nvmem_device_get() returns an nvmem device, not an nvmem cell. Fixes: e2a5402ec7c6d044 ("nvmem: Add nvmem_device based consumer apis.") Cc: stable Signed-off-by: Geert Uytterhoeven Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20240902142510.71096-3-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/nvmem/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -684,13 +684,13 @@ void nvmem_device_put(struct nvmem_devic EXPORT_SYMBOL_GPL(nvmem_device_put); /** - * devm_nvmem_device_get() - Get nvmem cell of device form a given id + * devm_nvmem_device_get() - Get nvmem device 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_cell - * on success. The nvmem_cell will be freed by the automatically once the + * 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 * device is freed. */ struct nvmem_device *devm_nvmem_device_get(struct device *dev, const char *id)