projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8923c5b
)
greybus: spi: add bundle-device prefix to error messages
author
Johan Hovold
<johan@hovoldconsulting.com>
Thu, 11 Feb 2016 12:52:50 +0000
(13:52 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Fri, 12 Feb 2016 05:44:17 +0000
(21:44 -0800)
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: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/spi.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/spi.c
b/drivers/staging/greybus/spi.c
index c00492cc632e7bbeb2d2ce4d3d1d75faaf44d08d..7689af0f63a952baa756cc3ae5df303f3025cfa3 100644
(file)
--- a/
drivers/staging/greybus/spi.c
+++ b/
drivers/staging/greybus/spi.c
@@
-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);