-
- Downloads
mfd / platform: cros_ec: Move lightbar attributes to its own driver
The entire way how cros sysfs attibutes are created is broken. cros_ec_lightbar should be its own driver and its attributes should be associated with a lightbar driver not the mfd driver. In order to retain the path, the lightbar attributes are attached to the cros_class. 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>
Showing
- Documentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-lightbar 74 additions, 0 deletions.../ABI/testing/sysfs-class-chromeos-driver-cros-ec-lightbar
- drivers/mfd/cros_ec_dev.c 13 additions, 11 deletionsdrivers/mfd/cros_ec_dev.c
- drivers/mfd/cros_ec_dev.h 0 additions, 6 deletionsdrivers/mfd/cros_ec_dev.h
- drivers/platform/chrome/Kconfig 11 additions, 0 deletionsdrivers/platform/chrome/Kconfig
- drivers/platform/chrome/Makefile 2 additions, 1 deletiondrivers/platform/chrome/Makefile
- drivers/platform/chrome/cros_ec_lightbar.c 73 additions, 22 deletionsdrivers/platform/chrome/cros_ec_lightbar.c
- include/linux/mfd/cros_ec.h 0 additions, 1 deletioninclude/linux/mfd/cros_ec.h
Loading
Please register or sign in to comment