Nícolas F. R. A. Prado 32de4b4f9d driver: core: Log probe failure as error and with device metadata
Drivers can return -ENODEV or -ENXIO from their probe to reject a device
match, and return -EPROBE_DEFER if probe should be retried. Any other
error code is not expected during normal behavior and indicates an
issue occurred, so it should be logged at the error level.

Also make use of the device variant, dev_err(), so that the device
metadata is attached to the log message.

Signed-off-by: "Nícolas F. R. A. Prado" <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20240305-device-probe-error-v1-1-a06d8722bf19@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-03-07 22:10:31 +00:00
..
2024-01-18 17:25:39 -08:00
2024-01-30 15:57:50 -08:00
2024-01-18 09:48:40 -08:00
2024-01-18 16:22:43 -08:00
2021-06-15 17:14:36 +02:00
2021-06-15 17:14:36 +02:00