mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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>
17 lines
727 B
Makefile
17 lines
727 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_CHROMEOS_LAPTOP) += chromeos_laptop.o
|
|
obj-$(CONFIG_CHROMEOS_PSTORE) += chromeos_pstore.o
|
|
obj-$(CONFIG_CHROMEOS_TBMC) += chromeos_tbmc.o
|
|
cros_ec_ctl-objs := cros_ec_sysfs.o \
|
|
cros_ec_vbc.o cros_ec_debugfs.o
|
|
obj-$(CONFIG_CROS_EC_CTL) += cros_ec_ctl.o
|
|
obj-$(CONFIG_CROS_EC_I2C) += cros_ec_i2c.o
|
|
obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o
|
|
cros_ec_lpcs-objs := cros_ec_lpc.o cros_ec_lpc_reg.o
|
|
cros_ec_lpcs-$(CONFIG_CROS_EC_LPC_MEC) += cros_ec_lpc_mec.o
|
|
obj-$(CONFIG_CROS_EC_LPC) += cros_ec_lpcs.o
|
|
obj-$(CONFIG_CROS_EC_PROTO) += cros_ec_proto.o
|
|
obj-$(CONFIG_CROS_KBD_LED_BACKLIGHT) += cros_kbd_led_backlight.o
|
|
obj-$(CONFIG_CROS_EC_LIGHTBAR) += cros_ec_lightbar.o
|