-
- Downloads
mfd / platform: cros_ec: Move vbc attributes to its own driver
The entire way how cros sysfs attibutes are created is broken. cros_ec_vbc should be its own driver and its attributes should be associated with a vbc driver not the mfd driver. In order to retain the path, the vbc 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-vbc 6 additions, 0 deletions...ation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-vbc
- drivers/mfd/cros_ec_dev.c 1 addition, 1 deletiondrivers/mfd/cros_ec_dev.c
- 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_vbc.c 42 additions, 1 deletiondrivers/platform/chrome/cros_ec_vbc.c
- include/linux/mfd/cros_ec.h 0 additions, 1 deletioninclude/linux/mfd/cros_ec.h
Loading
Please register or sign in to comment