i2c: nforce2: fix coding style issues
authorLaurent Navet <laurent.navet@gmail.com>
Thu, 10 Jan 2013 14:07:42 +0000 (15:07 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 28 Jan 2013 04:26:42 +0000 (05:26 +0100)
commit5c38dc8911b86b7c49305e2f2b631cd1241f2d87
treedc6964e42fb260b105007019d6e6542ce0a96f70
parent81e34f913402284deed1a74ad7dcfa79396cbcc4
i2c: nforce2: fix coding style issues

avoid these checkpatch.pl issues :
- ERROR: "foo * bar" should be "foo *bar"
- ERROR: switch and case should be at the same indent
- ERROR: "(foo*)" should be "(foo *)"
- ERROR: do not use assignment in if condition
- ERROR: space required before the open parenthesis '('
- WARNING: suspect code indent for conditional statements
- WARNING: quoted string split across lines
- WARNING: space prohibited between function name and open parenthesis '('
- WARNING: line over 80 characters
also add spaces around some "+", "=", "*"

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-nforce2.c