mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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>
This commit is contained in:
parent
039bea8440
commit
4fa589126f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue