Quentin Schulz
b4b66e2f29
dm: core: use u32 instead of int for dev_read_u32_default
...
dev_read_u32_default is for getting a u32 from a Device Tree property
and allows to take a default value if that property is missing.
Considering it calls ofnode_read_u32_default which takes a u32 and
returns a u32, it should do the same instead of using an int, especially
considering that int size is typically architecture-specific, as opposed
to u32.
This incidentally matches all other dev_read_*_default functions (except
dev_read_s32_default which will be tackled in the next commit).
Fixes: 47a0fd3bad ("dm: core: Implement live tree 'read' functions")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de >
Reviewed-by: Simon Glass <sjg@chromium.org >
2025-06-11 13:31:35 -06:00
..
2025-04-23 22:12:04 +08:00
2025-04-22 15:13:21 -06:00
2024-05-20 13:35:03 -06:00
2024-12-15 11:39:23 -06:00
2025-04-11 12:16:44 -06:00
2025-02-14 10:19:24 -06:00
2025-04-11 12:16:44 -06:00
2025-04-11 15:28:14 +02:00
2024-11-06 18:56:51 +08:00
2025-05-21 16:49:57 +08:00
2025-06-11 13:31:35 -06:00
2025-05-03 16:55:32 -03:00
2025-05-22 09:01:51 -03:00
2025-04-22 11:47:41 +08:00
2024-05-20 13:35:03 -06:00
2025-04-11 12:16:44 -06:00
2025-04-05 18:28:02 -06:00
2024-05-20 13:35:03 -06:00
2025-04-10 09:59:37 +02:00
2025-05-05 14:18:59 -06:00
2025-04-16 13:44:44 +02:00
2024-05-20 13:35:03 -06:00
2024-05-24 13:42:07 -06:00
2025-05-08 08:30:53 +03:00
2024-05-20 13:35:03 -06:00
2025-04-22 13:04:22 +02:00
2025-04-12 09:44:02 +03:00
2024-11-24 15:41:32 -06:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00
2025-03-13 14:23:05 -06:00
2025-05-06 16:12:06 +08:00
2025-05-20 23:11:52 +08:00
2025-05-06 13:13:36 -06:00
2025-04-11 12:16:49 -06:00
2025-05-12 18:43:19 -03:00
2025-04-11 12:16:44 -06:00
2024-05-20 13:35:03 -06:00
2025-04-24 10:46:17 -06:00
2024-05-20 13:35:03 -06:00
2025-04-28 12:45:44 -06:00
2025-05-06 15:59:43 +08:00
2025-05-09 10:39:48 -06:00
2025-03-30 09:14:44 -06:00
2025-05-21 16:49:52 +08:00
2024-05-20 13:35:03 -06:00
2025-04-11 12:16:44 -06:00
2025-05-03 16:55:32 -03:00
2025-04-23 22:12:04 +08:00
2025-02-10 10:29:10 -06:00
2025-04-10 20:55:53 -06:00
2025-04-16 13:42:06 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-04-03 11:37:46 -06:00
2024-07-22 10:53:06 -06:00
2025-05-12 18:42:53 -03:00
2025-04-10 15:43:10 +02:00
2025-02-28 08:41:54 -06:00
2025-05-08 08:30:53 +03:00
2024-04-26 08:28:35 +03:00
2024-07-22 10:53:06 -06:00
2025-04-11 12:16:44 -06:00
2025-04-14 22:59:01 +03:00
2025-04-16 13:42:06 +02:00
2025-05-25 15:44:13 +02:00
2025-05-08 08:30:53 +03:00
2025-01-20 19:26:54 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-04-28 12:45:44 -06:00
2024-05-20 13:35:03 -06:00
2025-04-11 12:16:44 -06:00