]> git.karo-electronics.de Git - linux-beck.git/commit
tlan: Code cleanup: checkpatch.pl is relatively happy now.
authorSakari Ailus <sakari.ailus@iki.fi>
Fri, 21 Jan 2011 10:59:30 +0000 (10:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jan 2011 23:07:06 +0000 (15:07 -0800)
commitc659c38b2796578638548b77ef626d93609ec8ac
treea013399d0e7f6c6fb2e3dff7ff322d98584a491e
parentc445477d74ab3779d1386ab797fbb9b628eb9f64
tlan: Code cleanup: checkpatch.pl is relatively happy now.

- Remove CamelCase.
- Convert hexadecimals to lower case.
- Remove useless comments. Tlan driver contained a name of the function at
  the end of it in a comment. Remove those comments.
- Remove local typedefs. Use real types instead of typedefs in code.
- Resolve space issues and reindent.
- One warning remain, it's a case where printing a single line involves a
  number of printk()s.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tlan.c
drivers/net/tlan.h