From: Yury Norov <ynorov@nvidia.com>
To: "Matthew Garrett" <mjg59@srcf.ucam.org>,
"Pali Rohár" <pali@kernel.org>,
"Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org (open list)
Cc: Yury Norov <ynorov@nvidia.com>, Yury Norov <yury.norov@gmail.com>
Subject: [PATCH 0/2] platform/x86: dell-laptop: rework kbd_led_level_{get,set}()
Date: Fri, 25 Sep 2026 15:32:37 -0400 [thread overview]
Message-ID: <20260925193239.248779-1-ynorov@nvidia.com> (raw)
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
next reply other threads:[~2026-09-25 19:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 19:32 Yury Norov [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260925193239.248779-1-ynorov@nvidia.com \
--to=ynorov@nvidia.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=pali@kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=yury.norov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.