• Laurent Navet's avatar
    i2c: nforce2: fix coding style issues · 5c38dc89
    Laurent Navet authored
    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: default avatarLaurent Navet <laurent.navet@gmail.com>
    Reviewed-by: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
    5c38dc89
i2c-nforce2.c 12.7 KB