]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/irq-xtensa-pic: Clean up
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 8 Dec 2023 16:38:57 +0000 (08:38 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Dec 2023 14:45:39 +0000 (15:45 +0100)
commit69ffab9b9e698248cbb4042e47f82afb00dc1bb4
tree17ed61cfd14b11554585333e0c966a6eaea9df4e
parent221b110d87c2d3ea113ad784b2c6505726a3e157
irqchip/irq-xtensa-pic: Clean up

  - get rid of the cached_irq_mask variable
  - use BIT() macro instead of bit shifts
  - drop .disable and .enable as they are equivalent to the default
    implementations

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20231208163857.82644-1-jcmvbkbc@gmail.com
drivers/irqchip/irq-xtensa-pic.c