diff options
author | Chaehyun Lim | 2016-09-22 03:56:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-09-22 11:54:47 +0200 |
commit | 26746a360394158850c494dd89d9d4f2d276b032 (patch) | |
tree | 5e5b51d77462c9f5a35c8513bc85032db3d2fa03 /drivers/staging/greybus/uart.c | |
parent | staging: greybus: audio_codec.c: code indent should use tabs where possible (diff) | |
download | kernel-qcow2-linux-26746a360394158850c494dd89d9d4f2d276b032.tar.gz kernel-qcow2-linux-26746a360394158850c494dd89d9d4f2d276b032.tar.xz kernel-qcow2-linux-26746a360394158850c494dd89d9d4f2d276b032.zip |
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/staging/greybus/uart.c')
-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 01aeed1b3a9c..a3c753b74f2b 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; |