ide: ide-taskfile.c fix style problems
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Mon, 3 Aug 2009 03:17:34 +0000 (20:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2009 17:42:59 +0000 (10:42 -0700)
commit2d5abcedeb41f4af9582c60cef70749c3ab90a3b
tree6adc51ab246ed6a9958ee6dd978f174868f4a164
parent72db37b2c9c5b71e49068f5fac6433a6c36498a5
ide: ide-taskfile.c fix style problems

Fix trivial style problems:

WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
WARNING: space prohibited between function name and open parenthesis '('
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
ERROR: do not use C99 // comments X 2
ERROR: trailing statements should be on next line
ERROR: trailing whitespace
ERROR: switch and case should be at the same indent
WARNING: line over 80 characters

total: 5 errors, 4 warnings

Also removed dead code

Also used pr_err() to avoid line breaks

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-taskfile.c