Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
leds: Use assign_bit() where applicable
Convert open-coded if/else with set_bit/clear_bit and their non-atomic __set_bit/__clear_bit variants to the assign_bit/__assign_bit API. Done with Coccinelle semantic patch and manual fixups. Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://patch.msgid.link/20260918141728.3022983-1-peng.fan@oss.nxp.com Signed-off-by: Lee Jones <lee@kernel.org>
Author Peng Fan Committer Lee Jones Date (Sep 23, 2026, 3:17 PM UTC) Commit
Copy SHA
Parent 4893d51e 4893d51ed4d7f3c0254543c0b5f2b307c8728eff