Skip to content

Commit 34d1b82

Browse files
bebarinoWolfram Sang
authored andcommitted
i2c: Fix kerneldoc for renamed i2c dma put function
This function was renamed in commit 82fe39a ("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: 82fe39a ("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>
1 parent 0238df6 commit 34d1b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/i2c-core-base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ EXPORT_SYMBOL(i2c_put_adapter);
22702270
*
22712271
* Return: NULL if a DMA safe buffer was not obtained. Use msg->buf with PIO.
22722272
* Or a valid pointer to be used with DMA. After use, release it by
2273-
* calling i2c_release_dma_safe_msg_buf().
2273+
* calling i2c_put_dma_safe_msg_buf().
22742274
*
22752275
* This function must only be called from process context!
22762276
*/

0 commit comments

Comments
 (0)