diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2018-12-12 20:34:00 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-02-01 11:09:27 +0300 |
commit | 6fd7f2bbd4422e7635bc771cd1ec440378158cb1 (patch) | |
tree | 14af3b15c2a73e037049afd6ad5a37a07547b8c5 /include/linux/mfd/cros_ec.h | |
parent | 6fce0a2cf5a050e8a3326556d7d293e69be303be (diff) | |
download | linux-6fd7f2bbd4422e7635bc771cd1ec440378158cb1.tar.xz |
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.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/cros_ec.h')
-rw-r--r-- | include/linux/mfd/cros_ec.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h index e50860d190db..8f2a8918bfa3 100644 --- a/include/linux/mfd/cros_ec.h +++ b/include/linux/mfd/cros_ec.h @@ -325,7 +325,4 @@ int cros_ec_get_next_event(struct cros_ec_device *ec_dev, bool *wake_event); */ u32 cros_ec_get_host_event(struct cros_ec_device *ec_dev); -/* sysfs stuff */ -extern struct attribute_group cros_ec_attr_group; - #endif /* __LINUX_MFD_CROS_EC_H */ |