mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] platform/x86: dell-laptop: rework kbd_led_level_{get,set}()
@ 2026-09-25 19:32 Yury Norov
  2026-09-25 19:32 ` [PATCH 1/2] platform/x86: dell-laptop: Use fns() in kbd_led_level_set() Yury Norov
  2026-09-25 19:32 ` [PATCH 2/2] platform/x86: dell-laptop: Fix token-based keyboard brightness readback Yury Norov
  0 siblings, 2 replies; 3+ messages in thread
From: Yury Norov @ 2026-09-25 19:32 UTC (permalink / raw)
  To: Matthew Garrett, Pali Rohár, Hans de Goede,
	Ilpo Järvinen, platform-driver-x86, open list
  Cc: Yury Norov, Yury Norov

Simplify both functions by replacing open-coded loops and fix
brightness readback for sparse token masks.

Yury Norov (2):
  platform/x86: dell-laptop: Use fns() in kbd_led_level_set()
  platform/x86: dell-laptop: Fix token-based keyboard brightness
    readback

 drivers/platform/x86/dell/dell-laptop.c | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

-- 
2.53.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-25 19:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 19:32 [PATCH 0/2] platform/x86: dell-laptop: rework kbd_led_level_{get,set}() Yury Norov
2026-09-25 19:32 ` [PATCH 1/2] platform/x86: dell-laptop: Use fns() in kbd_led_level_set() Yury Norov
2026-09-25 19:32 ` [PATCH 2/2] platform/x86: dell-laptop: Fix token-based keyboard brightness readback Yury Norov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®