On 2026-06-02T11:57:48, Alexander Feilke
<[email protected]> wrote:
> sysinfo: add sysinfo_get_and_detect() helper
>
> sysinfo_detect() is commonly called after sysinfo_get(). Make the API a
> bit more convenient to use by introducing a helper.
>
> Signed-off-by: Nora Schiffer <[email protected]>
> Signed-off-by: Alexander Feilke <[email protected]>
>
> drivers/sysinfo/sysinfo-uclass.c | 10 ++++++++++
>  include/sysinfo.h                | 17 +++++++++++++++++
>  test/dm/sysinfo.c                | 16 ++++++++++++++++
>  3 files changed, 43 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to