summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2022-02-23 00:46:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-25 11:56:13 +0100
commit8bcbde2bb1374112264826aa26ff959149f318e4 (patch)
tree43dd3d4749ece94dfaa7b02234d1ed1d5a415097 /drivers/platform
parentkernfs: move struct kernfs_root out of the public view. (diff)
downloadlinux-8bcbde2bb1374112264826aa26ff959149f318e4.tar.xz
linux-8bcbde2bb1374112264826aa26ff959149f318e4.zip
debugfs: Document that debugfs_create functions need not be error checked
As talked about in commit b792e64021ec ("drm: no need to check return value of debugfs_create functions"), in many cases we can get away with totally skipping checking the errors of debugfs functions. Let's document that so people don't add new code that needlessly checks these errors. Probably this note could be added to a boatload of functions, but that's a lot of duplication. Let's just add it to the two most frequent ones and hope people will get the idea. Suggested-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20220222154555.1.I26d364db7a007f8995e8f0dac978673bc8e9f5e2@changeid Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions