summaryrefslogtreecommitdiff
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2024-09-30 14:20:54 +0300
committerChristian Brauner <brauner@kernel.org>2024-10-22 12:16:57 +0300
commit1e756248be2aa03188a9700da5feb3d3f3c91eed (patch)
tree70601b4074b1d566611629d4c500de9535e89b91 /fs/char_dev.c
parente6957c99dca5fd919756e6721e798cbadd23445a (diff)
downloadlinux-1e756248be2aa03188a9700da5feb3d3f3c91eed.tar.xz
fs: Reorganize kerneldoc parameter names
Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Link: https://lore.kernel.org/r/20240930112121.95324-9-Julia.Lawall@inria.fr Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r--fs/char_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index 57cc096c498a..c2ddb998f3c9 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -562,8 +562,8 @@ int cdev_device_add(struct cdev *cdev, struct device *dev)
/**
* cdev_device_del() - inverse of cdev_device_add
- * @dev: the device structure
* @cdev: the cdev structure
+ * @dev: the device structure
*
* cdev_device_del() is a helper function to call cdev_del and device_del.
* It should be used whenever cdev_device_add is used.