diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-10-12 08:02:22 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-17 09:14:55 +0200 |
commit | 4fa589126f23243bd998a464cb6158d343eb6a89 (patch) | |
tree | 3a40e59ee5383c73f79ce21b5c61a3bafb622321 /drivers/staging | |
parent | 039bea844016ae85eaf195bf25266b5eb028a319 (diff) | |
download | op-kernel-dev-4fa589126f23243bd998a464cb6158d343eb6a89.zip op-kernel-dev-4fa589126f23243bd998a464cb6158d343eb6a89.tar.gz |
Staging: greybus: uart: Use gbphy_dev->dev instead of bundle->dev
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/greybus/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index 5ee7954..2633d2b 100644 --- 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 { |