projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039bea8
)
Staging: greybus: uart: Use gbphy_dev->dev instead of bundle->dev
author
Viresh Kumar
<viresh.kumar@linaro.org>
Wed, 12 Oct 2016 02:32:22 +0000
(08:02 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 17 Oct 2016 07:14:55 +0000
(09:14 +0200)
Some of the print messages are using the incorrect device pointer, fix
them.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/uart.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/uart.c
b/drivers/staging/greybus/uart.c
index 5ee7954bd9f91af58091454a478b64e1a0dd7741..2633d2bfb1b4f86bfd34e0da52f1e647b105e301 100644
(file)
--- a/
drivers/staging/greybus/uart.c
+++ b/
drivers/staging/greybus/uart.c
@@
-888,7
+888,7
@@
static int gb_uart_probe(struct gbphy_device *gbphy_dev,
minor = alloc_minor(gb_tty);
if (minor < 0) {
if (minor == -ENOSPC) {
- dev_err(&
connection->bundle
->dev,
+ dev_err(&
gbphy_dev
->dev,
"no more free minor numbers\n");
retval = -ENODEV;
} else {