On Tue, 11 Jun 2024 at 07:04, Quentin Schulz <[email protected]> wrote: > > From: Quentin Schulz <[email protected]> > > A driver can have multiple compatible. When the id->compatible matches > for that driver, the first compatible supported by the driver is > currently returned, which gives the following confusing message: > > - found match at 'rk3588_syscon': 'rockchip,rk3588-sys-grf' matches > 'rockchip,rk3588-pmugrf' > > Considering that the compatible passed in argument is necessarily the > one that exactly matched to enter this code path, there's no need to do > some elaborate logic, just print the driver name and the compatible > passed in argument. > > Fixes: d3e773613b6d ("dm: core: Use U-Boot logging instead of pr_debug()") > Signed-off-by: Quentin Schulz <[email protected]> > --- > drivers/core/lists.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

