History

mfd / platform: cros_ec: Move device sysfs attributes to its own driver

The entire way how cros debugfs attibutes are created is broken. cros_ec_sysfs should be its own driver and its attributes should be associated with the sysfs driver not the mfd driver. The patch also adds the sysfs documentation.

Enric Balletbo i Serra committed 7 years ago

Commit 6fd7f2b1 parent 6fce0a28 files · +81 −17Browse files

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

Unified · Split

include/linux/mfd/cros_ec.h+0−3
@@ -325,7 +325,4 @@ int cros_ec_get_next_event(struct cros_ec_device *ec_dev, bool *wake_event); · 324 unmodified lines
325 */325 */
326u32 cros_ec_get_host_event(struct cros_ec_device *ec_dev);326u32 cros_ec_get_host_event(struct cros_ec_device *ec_dev);
327 327
328/* sysfs stuff */
329extern struct attribute_group cros_ec_attr_group;
330
331#endif /* __LINUX_MFD_CROS_EC_H */328#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