Arnd Bergmann
d9d79e4f7d
mfd: Fix building without CONFIG_OF
...
Using the of_fwnode_handle() means that local 'node' variables are unused
whenever CONFIG_OF is disabled for compile testing:
drivers/mfd/88pm860x-core.c: In function 'device_irq_init':
drivers/mfd/88pm860x-core.c:576:29: error: unused variable 'node' [-Werror=unused-variable]
576 | struct device_node *node = i2c->dev.of_node;
| ^~~~
drivers/mfd/max8925-core.c: In function 'max8925_irq_init':
drivers/mfd/max8925-core.c:659:29: error: unused variable 'node' [-Werror=unused-variable]
659 | struct device_node *node = chip->dev->of_node;
| ^~~~
drivers/mfd/twl4030-irq.c: In function 'twl4030_init_irq':
drivers/mfd/twl4030-irq.c:679:46: error: unused variable 'node' [-Werror=unused-variable]
679 | struct device_node *node = dev->of_node;
| ^~~~
Replace these with the corresponding dev_fwnode() lookups that
keep the code simpler in addition to avoiding the warnings.
Fixes: e3d44f11da04 ("mfd: Switch to irq_domain_create_*()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Reviewed-by: Jiri Slaby <jirislaby@kernel.org >
Link: https://lore.kernel.org/r/20250520154106.2019525-1-arnd@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org >
2025-06-19 11:05:30 +01:00
..
2023-06-15 09:19:37 +01:00
2024-08-30 09:40:11 +01:00
2024-08-30 09:40:11 +01:00
2025-06-19 11:05:30 +01:00
2025-05-23 08:49:14 +01:00
2025-05-22 15:49:58 +01:00
2025-05-16 21:06:10 +02:00
2024-11-01 15:56:58 +00:00
2024-02-23 14:58:03 +00:00
2023-08-18 21:48:03 +01:00
2024-07-04 17:08:02 +01:00
2023-06-15 09:19:37 +01:00
2024-08-01 14:09:28 +01:00
2023-08-22 08:07:50 +01:00
2024-02-23 16:02:16 +00:00
2024-07-04 17:38:40 +01:00
2023-11-01 10:02:12 +00:00
2025-05-16 21:06:10 +02:00
2024-07-04 17:38:40 +01:00
2021-11-05 14:40:26 +00:00
2024-02-23 14:58:03 +00:00
2025-05-23 08:49:07 +01:00
2024-09-23 16:20:55 +01:00
2023-06-15 09:19:37 +01:00
2024-10-16 09:04:09 +01:00
2023-11-01 10:02:11 +00:00
2024-10-16 09:04:10 +01:00
2024-10-31 15:51:29 +00:00
2024-03-28 09:50:59 +00:00
2025-02-20 16:05:09 +00:00
2025-05-22 10:57:00 +01:00
2023-04-26 11:40:32 +01:00
2024-08-30 09:40:11 +01:00
2025-03-21 11:34:08 +00:00
2024-11-01 15:56:58 +00:00
2024-12-02 11:34:44 -08:00
2024-06-28 15:36:05 +01:00
2024-06-28 15:36:05 +01:00
2025-01-22 09:16:02 -08:00
2025-01-22 09:16:02 -08:00
2025-01-22 09:16:02 -08:00
2024-12-17 13:17:25 +00:00
2023-08-18 21:48:01 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2023-06-15 09:19:37 +01:00
2024-12-17 13:17:25 +00:00
2023-08-18 21:48:03 +01:00
2024-10-16 09:04:10 +01:00
2024-02-23 14:58:04 +00:00
2024-07-04 17:08:02 +01:00
2024-08-30 09:40:11 +01:00
2024-02-23 14:58:04 +00:00
2024-02-23 14:58:04 +00:00
2021-08-05 14:19:59 +01:00
2025-05-16 21:06:10 +02:00
2023-11-01 10:02:13 +00:00
2025-03-14 08:59:07 +00:00
2025-05-23 08:48:55 +01:00
2025-03-14 08:59:07 +00:00
2025-05-16 21:06:10 +02:00
2024-10-02 17:23:23 -04:00
2024-11-01 15:56:58 +00:00
2023-11-01 10:02:17 +00:00
2021-10-05 08:56:08 +01:00
2024-09-11 14:26:03 +02:00
2021-08-11 16:00:53 +03:00
2024-11-12 12:15:42 +00:00
2025-03-14 08:59:05 +00:00
2024-11-12 12:15:42 +00:00
2025-03-14 08:59:05 +00:00
2024-09-11 14:26:03 +02:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2025-02-19 13:22:12 +01:00
2024-02-23 14:58:00 +00:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2021-08-12 11:39:39 +01:00
2025-03-14 08:59:05 +00:00
2024-10-02 17:23:23 -04:00
2021-11-05 14:40:27 +00:00
2025-05-23 08:48:27 +01:00
2024-11-01 15:56:58 +00:00
2024-02-23 14:58:04 +00:00
2024-07-04 17:38:40 +01:00
2024-02-23 14:58:04 +00:00
2024-07-04 17:08:02 +01:00
2024-07-04 17:08:02 +01:00
2025-05-16 21:06:10 +02:00
2024-07-04 17:08:02 +01:00
2024-07-04 17:08:02 +01:00
2024-12-17 13:17:25 +00:00
2021-09-07 08:44:07 +01:00
2022-12-07 13:28:07 +00:00
2023-11-01 10:02:12 +00:00
2024-07-04 17:38:40 +01:00
2025-05-23 08:48:34 +01:00
2024-07-04 17:08:02 +01:00
2025-06-19 11:05:30 +01:00
2025-05-23 08:49:11 +01:00
2025-05-16 21:06:10 +02:00
2023-11-01 10:02:09 +00:00
2025-05-16 21:06:10 +02:00
2023-11-01 10:02:13 +00:00
2025-05-23 08:49:08 +01:00
2025-05-23 08:49:09 +01:00
2025-03-14 08:59:07 +00:00
2023-06-15 09:19:37 +01:00
2023-11-01 10:02:15 +00:00
2023-06-15 09:19:37 +01:00
2025-05-23 08:49:10 +01:00
2023-06-15 09:19:37 +01:00
2025-05-09 15:22:30 +01:00
2023-08-18 21:48:03 +01:00
2024-02-23 15:53:29 +00:00
2023-08-22 08:07:52 +01:00
2024-08-30 09:40:13 +01:00
2021-11-05 14:40:26 +00:00
2024-07-03 15:16:54 +02:00
2024-11-01 15:56:58 +00:00
2024-07-04 17:08:02 +01:00
2023-06-15 09:19:37 +01:00
2024-07-04 17:38:40 +01:00
2023-11-01 10:02:16 +00:00
2023-06-15 09:19:37 +01:00
2025-05-16 21:06:10 +02:00
2024-08-30 09:40:13 +01:00
2023-06-15 09:19:37 +01:00
2022-09-28 16:09:50 +01:00
2025-03-14 08:59:07 +00:00
2025-05-16 21:06:10 +02:00
2024-11-01 15:56:58 +00:00
2024-10-02 17:23:23 -04:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2022-09-09 07:54:47 +01:00
2024-11-01 15:56:58 +00:00
2024-11-01 15:56:58 +00:00
2023-11-01 10:02:10 +00:00
2023-11-01 10:02:17 +00:00
2025-05-16 21:06:10 +02:00
2024-07-04 17:38:40 +01:00
2024-09-23 16:20:54 +01:00
2025-03-14 10:55:15 +00:00
2024-10-02 17:23:23 -04:00
2023-06-15 09:19:36 +01:00
2024-02-23 14:58:05 +00:00
2024-08-30 09:40:12 +01:00
2024-10-16 09:04:11 +01:00
2024-09-23 16:20:53 +01:00
2024-02-23 14:58:04 +00:00
2024-02-23 14:58:04 +00:00
2024-08-30 09:40:12 +01:00
2024-08-30 09:40:11 +01:00
2024-11-01 15:53:05 +00:00
2025-04-24 14:53:13 +01:00
2024-07-04 17:08:02 +01:00
2024-05-10 15:39:18 +01:00
2024-05-10 15:39:18 +01:00
2023-04-26 11:40:34 +01:00
2024-07-04 17:38:40 +01:00
2025-05-23 08:49:12 +01:00
2023-06-15 09:19:37 +01:00
2023-08-22 08:07:52 +01:00
2023-04-26 11:40:34 +01:00
2025-05-23 08:48:27 +01:00
2025-05-23 08:48:50 +01:00
2025-05-23 08:48:44 +01:00
2025-05-23 08:48:50 +01:00
2025-05-23 08:48:49 +01:00
2024-10-02 17:23:23 -04:00
2023-06-15 09:19:37 +01:00
2024-02-23 14:58:05 +00:00
2025-02-20 16:37:33 +00:00
2021-08-16 13:45:34 +01:00
2023-06-15 09:19:37 +01:00
2025-05-23 08:49:16 +01:00
2023-06-15 09:19:37 +01:00
2025-05-23 08:49:13 +01:00
2024-07-04 17:38:40 +01:00
2025-05-13 11:12:52 +01:00
2025-03-14 08:59:05 +00:00
2025-05-16 21:06:10 +02:00
2023-08-22 08:07:51 +01:00
2025-05-23 08:48:57 +01:00
2025-05-16 21:06:10 +02:00
2021-11-05 14:40:26 +00:00
2024-12-17 13:17:25 +00:00
2024-07-04 17:08:02 +01:00
2023-08-18 21:48:03 +01:00
2021-06-02 10:51:19 +01:00
2025-03-29 14:33:13 -07:00
2025-05-16 21:06:10 +02:00
2024-11-01 15:56:58 +00:00
2023-08-18 21:48:03 +01:00
2024-07-11 16:38:23 +01:00
2024-08-30 09:40:11 +01:00
2024-07-04 17:08:02 +01:00
2025-05-16 21:06:10 +02:00
2024-07-04 17:38:40 +01:00
2024-05-03 10:07:02 +01:00
2024-05-03 10:07:04 +01:00
2025-05-23 08:48:12 +01:00
2024-08-30 09:40:12 +01:00
2024-08-30 09:40:12 +01:00
2025-05-16 21:06:10 +02:00
2024-08-30 09:40:12 +01:00
2025-03-14 08:59:06 +00:00
2024-08-30 09:40:12 +01:00
2024-11-01 15:56:58 +00:00
2024-08-30 09:40:12 +01:00
2024-07-04 17:38:40 +01:00
2024-07-04 17:38:40 +01:00
2024-11-12 14:47:00 +00:00
2024-11-01 15:56:58 +00:00
2025-06-19 11:05:30 +01:00
2024-02-23 16:12:03 +00:00
2025-05-16 21:06:10 +02:00
2024-08-30 09:40:12 +01:00
2024-10-25 09:48:58 +01:00
2022-04-28 17:24:40 +01:00
2021-06-15 13:02:01 +01:00
2025-05-23 08:48:13 +01:00
2025-03-14 08:59:06 +00:00
2025-01-09 11:11:47 +00:00
2024-10-16 09:04:10 +01:00
2024-07-04 17:08:02 +01:00
2024-02-23 14:58:04 +00:00
2024-02-23 14:58:01 +00:00
2023-08-18 21:48:03 +01:00
2023-11-01 10:02:17 +00:00
2025-05-16 21:06:10 +02:00
2021-06-15 13:01:45 +01:00
2023-11-01 10:02:16 +00:00
2024-02-23 14:58:04 +00:00
2024-02-23 14:58:04 +00:00
2024-07-04 17:08:02 +01:00
2024-02-23 14:58:04 +00:00
2024-07-04 17:08:02 +01:00
2024-07-04 17:38:40 +01:00
2025-05-16 21:06:10 +02:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:03 +01:00
2023-08-18 21:48:03 +01:00