diff mbox series

i2c: Fix kerneldoc for renamed i2c dma put function

Message ID 20181008145520.36810-1-swboyd@chromium.org
State Accepted
Headers show
Series i2c: Fix kerneldoc for renamed i2c dma put function | expand

Commit Message

Stephen Boyd Oct. 8, 2018, 2:55 p.m. UTC
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(-)

Comments

Wolfram Sang Oct. 11, 2018, 9:02 p.m. UTC | #1
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!
diff mbox series

Patch

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!
  */