debugfs: Correct the 'debugfs_create_str' docs
authorIvan Orlov <ivan.orlov0322@gmail.com>
Sun, 14 May 2023 17:23:53 +0000 (21:23 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 May 2023 18:02:14 +0000 (19:02 +0100)
commit266bff73451afb2c98541acac41386ef4f08bb5e
treec058ad52c08c53b78d20c56aa6309c081f589ffb
parent9e6aa7c22d0777da16cec0d056382c9bd181aa78
debugfs: Correct the 'debugfs_create_str' docs

The documentation of the 'debugfs_create_str' says that the function
returns a pointer to a dentry created, or an ERR_PTR in case of error.
Actually, this is not true: this function doesn't return anything at all.
Correct the documentation correspondingly.

Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230514172353.52878-1-ivan.orlov0322@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c