]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqdomain: ssb: Switch to irq_domain_create_linear()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 19 Mar 2025 09:29:30 +0000 (10:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 13:08:44 +0000 (15:08 +0200)
commit46380bf020790643d880a750f25c5cce720e0ac5
tree3eb0bd6b689ac5459a1b9c80d83071664f876d60
parentad748a73675cce9f95ece7b11ec233c95ff56c31
irqdomain: ssb: Switch to irq_domain_create_linear()

irq_domain_add_linear() is going away as being obsolete now. Switch to
the preferred irq_domain_create_linear(). That differs in the first
parameter: It takes more generic struct fwnode_handle instead of struct
device_node. Therefore, of_fwnode_handle() is added around the
parameter.

Note some of the users can likely use dev->fwnode directly instead of
indirect of_fwnode_handle(dev->of_node). But dev->fwnode is not
guaranteed to be set for all, so this has to be investigated on case to
case basis (by people who can actually test with the HW).

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Michael Buesch <m@bues.ch>
Cc: linux-wireless@vger.kernel.org
Link: https://patch.msgid.link/20250319092951.37667-38-jirislaby@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/ssb/driver_gpio.c