diff options
| author | Kurt Borja <[email protected]> | 2025-01-05 15:30:05 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-01-15 14:25:31 +0000 |
| commit | 61493f947220e36df6468d61f94501152ed2477c (patch) | |
| tree | e7146716d9bdf916af539932985200cd7dfdee73 /drivers/platform/x86/intel/punit_ipc.c | |
| parent | platform/x86: alienware-wmi: Improve hdmi_mux, amplifier and deepslp group cr... (diff) | |
| download | kernel-61493f947220e36df6468d61f94501152ed2477c.tar.gz kernel-61493f947220e36df6468d61f94501152ed2477c.zip | |
platform/x86: alienware-wmi: Improve rgb-zones group creation
Define zone_attrs statically and initialize zone_attribute_group with
platform driver's .dev_groups.
Drop match_zone() and instead pass a `location` argument to previous
show/store methods to access the correct `zone` LED state. On top of
that rename zone_set() -> zone_store() to be more consistent with sysfs
conventions.
Reviewed-by: Armin Wolf <[email protected]>
Signed-off-by: Kurt Borja <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/punit_ipc.c')
0 files changed, 0 insertions, 0 deletions
