Patrick Delaunay
89f68302ca
dm: add cells_count parameter in *_count_phandle_with_args
...
The cell_count argument is required when cells_name is NULL.
This patch adds this parameter in live tree API
- of_count_phandle_with_args
- ofnode_count_phandle_with_args
- dev_count_phandle_with_args
This parameter solves issue when these API is used to count
the number of element of a cell without cell name. This parameter
allow to force the size cell.
For example:
count = dev_count_phandle_with_args(dev, "array", NULL, 3);
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
2020-10-06 09:07:54 -06:00
..
2020-08-03 22:19:54 -04:00
2020-09-08 08:46:32 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-08-14 15:18:30 -04:00
2020-05-18 21:19:18 -04:00
2020-06-02 17:27:04 -04:00
2020-07-11 21:30:21 +09:00
2020-07-28 19:30:39 -06:00
2020-05-18 21:19:23 -04:00
2020-10-06 09:07:54 -06:00
2020-10-06 09:07:54 -06:00
2020-10-05 10:54:27 -04:00
2020-07-27 14:16:29 +05:30
2020-07-27 14:02:28 +02:00
2020-05-18 21:19:18 -04:00
2020-09-01 14:47:43 +02:00
2020-07-25 14:46:57 -06:00
2020-09-01 14:47:43 +02:00
2020-09-30 11:55:24 -04:00
2020-09-23 10:31:41 +02:00
2020-10-05 14:10:59 -04:00
2020-05-18 21:19:23 -04:00
2020-10-05 14:10:59 -04:00
2020-07-25 14:46:57 -06:00
2020-08-07 22:31:32 -04:00
2020-10-02 15:05:14 +02:00
2020-08-13 09:53:34 +02:00
2020-08-20 09:49:20 +02:00
2020-10-05 14:10:59 -04:00
2020-10-05 14:10:59 -04:00
2020-10-06 09:07:54 -06:00
2020-06-23 14:43:23 -04:00
2020-05-18 21:19:18 -04:00
2020-10-05 14:10:59 -04:00
2020-07-27 15:18:15 -04:00
2020-10-06 09:07:54 -06:00
2020-10-05 14:10:59 -04:00
2020-10-06 09:07:54 -06:00
2020-07-25 14:46:57 -06:00
2020-09-17 06:09:53 +02:00
2020-09-30 08:54:38 +08:00
2020-09-30 08:53:42 -04:00
2020-10-06 09:07:54 -06:00
2020-09-28 09:38:11 +02:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-09-23 10:31:40 +02:00
2020-09-30 08:53:43 -04:00
2020-08-11 20:34:46 +05:30
2020-09-25 11:27:14 +08:00
2020-10-05 14:10:59 -04:00
2020-07-25 14:46:57 -06:00
2020-09-30 08:53:48 -04:00
2020-07-29 10:37:11 -04:00
2020-05-22 13:29:25 +02:00
2020-10-05 10:54:27 -04:00
2020-09-25 11:27:21 +08:00
2020-08-03 22:19:54 -04:00
2020-10-06 09:07:54 -06:00
2020-10-05 14:10:59 -04:00
2020-08-24 14:11:31 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-08-25 08:01:16 +02:00
2020-08-24 14:11:31 -04:00
2020-08-14 15:18:30 -04:00
2020-09-23 10:31:41 +02:00