From cb8fa61c2b8b29d422d7310f064d60022f18f89b Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Tue, 16 Oct 2007 01:27:34 -0700 Subject: uml: arch/um/drivers formatting Style fixes for the rest of the drivers. arch/um/drivers should be pretty CodingStyle-compliant now. Except for the ubd driver, which will have to be treated separately. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/um/drivers/fd.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'arch/um/drivers/fd.c') diff --git a/arch/um/drivers/fd.c b/arch/um/drivers/fd.c index 207b0444c9d9..0a2bb5b64b82 100644 --- a/arch/um/drivers/fd.c +++ b/arch/um/drivers/fd.c @@ -1,19 +1,18 @@ -/* +/* * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{linux.intel,addtoit}.com) * Licensed under the GPL */ -#include -#include #include +#include +#include #include #include -#include #include "chan_user.h" +#include "kern_constants.h" +#include "os.h" #include "um_malloc.h" #include "user.h" -#include "os.h" -#include "kern_constants.h" struct fd_chan { int fd; @@ -42,7 +41,7 @@ static void *fd_init(char *str, int device, const struct chan_opts *opts) } data = kmalloc(sizeof(*data), UM_GFP_KERNEL); - if(data == NULL) + if (data == NULL) return NULL; *data = ((struct fd_chan) { .fd = n, -- cgit v1.2.2