um: irq: Clean up and rename struct irq_fd
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Dec 2020 11:59:53 +0000 (12:59 +0100)
committerRichard Weinberger <richard@nod.at>
Sun, 13 Dec 2020 21:22:19 +0000 (22:22 +0100)
commit458e1f7da004ec264cf2a9252822955ba4f7e9a0
treeb53dd332e7782db471b9eab3aad5658067ce0df7
parent0ede3c05eec875d05a397d16808857492d206dcf
um: irq: Clean up and rename struct irq_fd

This really shouldn't be called "irq_fd" since it doesn't
carry an fd. Well, it used to, apparently, but that struct
member is unused.

Rename it to "irq_reg" since it more accurately reflects a
registered interrupt, and remove the unused 'next' and 'fd'
members from the struct as well.

While at it, also move it to the implementation, it's not
used anywhere else, and the header file is shared with the
userspace components.

Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/shared/irq_user.h
arch/um/kernel/irq.c