diff options
| author | Kurt Borja <kuurtb@gmail.com> | 2025-01-05 10:30:02 -0500 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-01-09 13:40:32 +0200 |
| commit | 99675d25dc82479f513be9dffc98badd2954e0fb (patch) | |
| tree | 18ef3dabc7280e759e9d8168a65c6730d1200025 /drivers/fpga/fpga-bridge.c | |
| parent | 2d0a368c34c0676657aaedd3aa641f3e5bf54e3a (diff) | |
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 <W_Armin@gmx.de>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250105153019.19206-4-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
