Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

genirq: Remove irq_chip_regs:: Polarity

The polarity member of struct irq_chip_regs is unused. Remove it along
with its kernel-doc.

Found by https://github.com/jirislaby/clang-struct.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240808104118.430670-3-jirislaby@kernel.org

authored by

Jiri Slaby (SUSE) and committed by
Thomas Gleixner
60029162 a09cdb8f

-2
-2
include/linux/irq.h
··· 991 991 * @ack: Ack register offset to reg_base 992 992 * @eoi: Eoi register offset to reg_base 993 993 * @type: Type configuration register offset to reg_base 994 - * @polarity: Polarity configuration register offset to reg_base 995 994 */ 996 995 struct irq_chip_regs { 997 996 unsigned long enable; ··· 999 1000 unsigned long ack; 1000 1001 unsigned long eoi; 1001 1002 unsigned long type; 1002 - unsigned long polarity; 1003 1003 }; 1004 1004 1005 1005 /**