tty: rpmsg: Unify variable used to keep an error code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Oct 2021 13:51:45 +0000 (16:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Oct 2021 17:19:41 +0000 (19:19 +0200)
commit408a507996e4c2ba943bc9b28be8bbb8424410b1
treeedb09467a7030b04609b87aeef00a15847efe453
parent0572da285d694e945303e74b7f9084b41e02ecbd
tty: rpmsg: Unify variable used to keep an error code

In some ret is used, in the other err. Let's unify it across the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211025135148.53944-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/rpmsg_tty.c