History

mfd: aat2870: No need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this.

Greg Kroah-Hartman committed 7 years ago

Commit cbfe6121 parent 64e8a9b2 files · +2 −12Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mfd/aat2870.h+0−1
@@ -136,7 +136,6 @@ struct aat2870_data { · 135 unmodified lines
136 136
137 /* for debugfs */137 /* for debugfs */
138 struct dentry *dentry_root;138 struct dentry *dentry_root;
139 struct dentry *dentry_reg;
140};139};
141 140
142struct aat2870_subdev_info {141struct aat2870_subdev_info {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t