Commit 6d09bbbc authored by Hongbo Li's avatar Hongbo Li Committed by Greg Kroah-Hartman
Browse files

irqchip/sifive-plic: Make use of __assign_bit()



[ Upstream commit 40d7af53 ]

Replace the open coded

if (foo)
        __set_bit(n, bar);
    else
        __clear_bit(n, bar);

with __assign_bit(). No functional change intended.

Signed-off-by: default avatarHongbo Li <lihongbo22@huawei.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/all/20240902130824.2878644-1-lihongbo22@huawei.com


Stable-dep-of: f75e07bf ("irqchip/sifive-plic: Avoid interrupt ID 0 handling during suspend/resume")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 63c44fa2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment