]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
i2c: Fix kerneldoc for renamed i2c dma put function
authorStephen Boyd <swboyd@chromium.org>
Mon, 8 Oct 2018 14:55:20 +0000 (07:55 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 11 Oct 2018 20:59:57 +0000 (22:59 +0200)
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>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c

index 9ee9a15e71347629d024709a17b9a6bb04fca8aa..9200e349f29e411d53d2dc4126ea2f7a450a9288 100644 (file)
@@ -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!
  */