Michal Suchanek 9244645f92 w1: Fix bus counting in w1_get_bus
Use uclass_first_device_check/uclass_next_device_check to correctly
count buses that fail to probe.

Fixes: d3e19cf919 ("w1: Add 1-Wire uclass")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-10-17 21:17:12 -06:00
..
2022-04-25 09:25:00 +02:00
2022-09-25 08:30:05 -06:00
2022-09-25 08:30:05 -06:00
2021-10-05 08:50:15 -04:00
2022-09-16 11:05:16 -04:00
2022-08-04 16:18:47 -04:00
2022-01-13 07:57:49 -05:00
2022-01-13 07:57:49 -05:00
2022-09-19 16:07:12 -04:00
2022-10-17 21:17:12 -06:00
2022-09-19 16:07:12 -04:00
2022-10-16 12:23:22 +02:00
2022-09-16 11:05:16 -04:00
2022-10-11 16:03:03 -04:00
2022-09-03 16:59:05 +03:00
2022-05-03 21:39:22 +02:00
2022-10-17 21:17:12 -06:00
2022-10-03 15:39:46 -04:00
2022-09-25 08:30:05 -06:00
2022-09-16 11:05:16 -04:00