irqdomain: Constify parameter in is_fwnode_irqchip()
authorHerve Codina <herve.codina@bootlin.com>
Fri, 14 Jun 2024 17:32:05 +0000 (19:32 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Jun 2024 13:48:13 +0000 (15:48 +0200)
commit922ac2cf9fe444c4aff165b9f7e158a9b651647d
tree434cf76a4c54d287407fc77f8d484e34246e082f
parent299d623f5c9ab48e53255cf6b510627f1ef26dfe
irqdomain: Constify parameter in is_fwnode_irqchip()

The fwnode parameter has no reason to be a pointer to an un-const struct
fwnode_handle. Indeed, struct fwnode_handle is not supposed to be modified
by the function.

Be consistent with other function performing the same kind of operation
such as is_of_node(), is_acpi_device_node() or is_software_node(): constify
the fwnode parameter.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240614173232.1184015-5-herve.codina@bootlin.com
include/linux/irqdomain.h