Quentin Schulz 512ed81e56 smbios: only look for a SYSINFO udevice if SYSINFO support is enabled
If SYSINFO support isn't enabled, it's a given that uclass_first_device
for UCLASS_SYSINFO will not find anything, therefore let's skip the test
entirely.

This allows to get rid of the following debug message that may be
confusing:

Cannot find uclass for id 118: please add the UCLASS_DRIVER() declaration for this UCLASS_... id

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2024-06-18 10:41:15 -06:00
..
2024-03-27 09:15:39 +01:00
2022-01-18 08:31:02 -05:00
2024-01-13 18:17:46 +01:00
2023-12-21 08:54:37 -05:00
2024-04-12 12:57:07 -06:00
2024-06-14 12:59:07 -06:00
2024-04-12 12:57:07 -06:00
2024-05-22 08:55:29 -06:00
2024-05-22 08:55:28 -06:00
2019-12-06 16:44:20 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2020-08-24 14:11:31 -04:00
2022-01-19 18:11:34 +01:00
2024-05-05 11:21:39 -03:00
2024-05-22 08:55:29 -06:00
2019-05-05 08:48:50 -04:00