linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: Fix kerneldoc for renamed i2c dma put function
@ 2018-10-08 14:55 Stephen Boyd
  2018-10-11 21:02 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Boyd @ 2018-10-08 14:55 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-kernel, linux-i2c

This function was renamed in commit 82fe39a6bc7b ("i2c: refactor
function to release a DMA safe buffer") but this kernel doc wasn't
updated to point at the new function. Rename it.

Fixes: 82fe39a6bc7b ("i2c: refactor function to release a DMA safe buffer")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
---
 drivers/i2c/i2c-core-base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/i2c-core-base.c b/drivers/i2c/i2c-core-base.c
index 9ee9a15e7134..9200e349f29e 100644
--- a/drivers/i2c/i2c-core-base.c
+++ b/drivers/i2c/i2c-core-base.c
@@ -2270,7 +2270,7 @@ EXPORT_SYMBOL(i2c_put_adapter);
  *
  * Return: NULL if a DMA safe buffer was not obtained. Use msg->buf with PIO.
  *	   Or a valid pointer to be used with DMA. After use, release it by
- *	   calling i2c_release_dma_safe_msg_buf().
+ *	   calling i2c_put_dma_safe_msg_buf().
  *
  * This function must only be called from process context!
  */
-- 
Sent by a computer through tubes


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] i2c: Fix kerneldoc for renamed i2c dma put function
  2018-10-08 14:55 [PATCH] i2c: Fix kerneldoc for renamed i2c dma put function Stephen Boyd
@ 2018-10-11 21:02 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2018-10-11 21:02 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: linux-kernel, linux-i2c

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

On Mon, Oct 08, 2018 at 07:55:20AM -0700, Stephen Boyd wrote:
> This function was renamed in commit 82fe39a6bc7b ("i2c: refactor
> function to release a DMA safe buffer") but this kernel doc wasn't
> updated to point at the new function. Rename it.
> 
> Fixes: 82fe39a6bc7b ("i2c: refactor function to release a DMA safe buffer")
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>

Applied to for-current, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-11 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-08 14:55 [PATCH] i2c: Fix kerneldoc for renamed i2c dma put function Stephen Boyd
2018-10-11 21:02 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).