diff options
| author | Kurt Borja <[email protected]> | 2025-01-05 15:30:02 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-01-09 11:40:32 +0000 |
| commit | 99675d25dc82479f513be9dffc98badd2954e0fb (patch) | |
| tree | 18ef3dabc7280e759e9d8168a65c6730d1200025 /drivers/platform/x86/intel/punit_ipc.c | |
| parent | platform/x86: alienware-wmi: Remove unnecessary check at module exit (diff) | |
| download | kernel-99675d25dc82479f513be9dffc98badd2954e0fb.tar.gz kernel-99675d25dc82479f513be9dffc98badd2954e0fb.zip | |
platform/x86: alienware-wmi: Move Lighting Control State
Place Lighting Control State logic next to other attributes of the same
sysfs group.
While at it, rename:
store_control_state() -> lighting_control_state_store()
show_control_state() -> lighting_control_state_show()
Replace DEVICE_ATTR() with DEVICE_ATTR_RW() and do a general style
cleanup.
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
