diff options
author | Tim Crawford <tcrawford@system76.com> | 2021-10-06 23:22:02 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-10-19 17:31:17 +0300 |
commit | 603a7dd08f881e1b5c754429dac5af6c29992528 (patch) | |
tree | 0c73917d832934774e1bfe2d11f82bdf641d9a0b /drivers/platform/surface | |
parent | 76f7eba3e0a248af4cc4f302d95031fa2fb65fab (diff) | |
download | linux-603a7dd08f881e1b5c754429dac5af6c29992528.tar.xz |
platform/x86: system76_acpi: Add attribute group for kb_led_color
Create the attribute groups for kb_led_color and set the `groups` field
in kb_led. While touching it, also change its show method to use
sysfs_emit() instead of sprintf().
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Link: https://lore.kernel.org/r/20211006202202.7479-5-tcrawford@system76.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface')
0 files changed, 0 insertions, 0 deletions