History

mfd / platform: cros_ec: Move debugfs attributes to its own driver

The entire way how cros debugfs attibutes are created is broken. cros_ec_debugfs should be its own driver and its attributes should be associated with a debugfs driver not the mfd driver.

Enric Balletbo i Serra committed 7 years ago

Commit 6fce0a21 parent acb99005 files · +56 −68Browse files

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

Unified · Split

include/linux/mfd/cros_ec.h+0−6
@@ -328,10 +328,4 @@ u32 cros_ec_get_host_event(struct cros_ec_device *ec_dev); · 327 unmodified lines
328/* sysfs stuff */328/* sysfs stuff */
329extern struct attribute_group cros_ec_attr_group;329extern struct attribute_group cros_ec_attr_group;
330 330
331/* debugfs stuff */
332int cros_ec_debugfs_init(struct cros_ec_dev *ec);
333void cros_ec_debugfs_remove(struct cros_ec_dev *ec);
334void cros_ec_debugfs_suspend(struct cros_ec_dev *ec);
335void cros_ec_debugfs_resume(struct cros_ec_dev *ec);
336
337#endif /* __LINUX_MFD_CROS_EC_H */331#endif /* __LINUX_MFD_CROS_EC_H */

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