This series gets rid of the false-positive errors printed when device
links are intentionally skipped. Patch 1 commonizes the logic into a
helper and patch 2 uses that to remove the error.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>
---
Changes in v2:
- Added patch 1 introducing the device_link_is_useless() helper and used
that in patch 2
- Link to v1: https://lore.kernel.org/r/20240624-fwdevlink-probed-no-err-v1-1-d1213cd354e2@xxxxxxxxxxxxx
---
Nícolas F. R. A. Prado (2):
driver core: Create device_link_is_useless() helper
driver core: Don't log intentional skip of device link creation as error
drivers/base/core.c | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)