Hi Nora, On 2026-05-26T12:40:39, Feilke, Alexander <[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]> > > include/sysinfo.h | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+)
Reviewed-by: Simon Glass <[email protected]> > diff --git a/include/sysinfo.h b/include/sysinfo.h > @@ -373,6 +373,26 @@ int sysinfo_get_data_by_index(struct udevice *dev, int > id, int index, > +/** > + * sysinfo_get_and_detect() - Get the sysinfo device and runs its detect > + * operation. Please use 'Get the sysinfo device and run its detect operation' to keep it imperative. Regards, Simon

