diff options
| author | Mike Tipton <[email protected]> | 2023-08-07 07:29:12 -0700 |
|---|---|---|
| committer | Georgi Djakov <[email protected]> | 2023-08-22 21:04:07 +0300 |
| commit | 86b5488121db563b33684f56aafa62156f764be3 (patch) | |
| tree | f0a5f634c9e6f001a124c20ede6c8c7a93fd8b50 /drivers/cdx/controller/cdx_controller.c | |
| parent | 2ccdd1b13c591d306f0401d98dedc4bdcd02b421 (diff) | |
debugfs: Add write support to debugfs_create_str()
Currently, debugfs_create_str() only supports reading strings from
debugfs. Add support for writing them as well.
Based on original implementation by Peter Zijlstra [0]. Write support
was present in the initial patch version, but dropped in v2 due to lack
of users. We have a user now, so reintroduce it.
[0] https://lore.kernel.org/all/YF3Hv5zXb%[email protected]/
Signed-off-by: Mike Tipton <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions