summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-09-22 01:56:43 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-22 09:54:47 (GMT)
commit26746a360394158850c494dd89d9d4f2d276b032 (patch)
tree5e5b51d77462c9f5a35c8513bc85032db3d2fa03 /drivers
parent33111574550b210f4841591a3938283ffdf91d01 (diff)
downloadlinux-26746a360394158850c494dd89d9d4f2d276b032.tar.xz
staging: greybus: uart.c: change 'unsigned' to 'unsigned int'
Fixes checkpatch.pl warning: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c
index 01aeed1..a3c753b 100644
--- a/drivers/staging/greybus/uart.c
+++ b/drivers/staging/greybus/uart.c
@@ -350,7 +350,7 @@ static int gb_uart_flush(struct gb_tty *gb_tty, u8 flags)
&request, sizeof(request), NULL, 0);
}
-static struct gb_tty *get_gb_by_minor(unsigned minor)
+static struct gb_tty *get_gb_by_minor(unsigned int minor)
{
struct gb_tty *gb_tty;