Commit 5ef545fb authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: spi: add bundle-device prefix to error messages

Replace all pr_err with dev_err so we can tell what device (and driver)
a message was for.

Testing Done: Compiled
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 8923c5b5
......@@ -218,7 +218,8 @@ static int gb_spi_transfer_one_message(struct spi_master *master,
if (response)
gb_spi_decode_response(msg, response);
} else {
pr_err("transfer operation failed (%d)\n", ret);
dev_err(&connection->bundle->dev,
"transfer operation failed: %d\n", ret);
}
gb_operation_put(operation);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment