driver: core: Use dev_* instead of pr_* so device metadata is added
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Tue, 5 Mar 2024 22:21:37 +0000 (17:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Mar 2024 22:10:31 +0000 (22:10 +0000)
commit448af2d28899a2b4b1b07944b4910dfd5841bf55
treef87bb7e3e60ee35d4849f2e07b3eebf6e8064147
parent32de4b4f9dfa67917d2cc824a195498513ec8e8d
driver: core: Use dev_* instead of pr_* so device metadata is added

Use the dev_* instead of the pr_* functions to log the status of device
probe so that the log message gets the device metadata attached to it.

Signed-off-by: "Nícolas F. R. A. Prado" <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20240305-device-probe-error-v1-2-a06d8722bf19@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c