]> err.no Git - linux-2.6/commit
[PATCH] i2c-ixp4xx: fix ") != 0))" typo
authorAlexey Dobriyan <adobriyan@openvz.org>
Sun, 19 Nov 2006 06:19:36 +0000 (22:19 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Mon, 20 Nov 2006 17:42:05 +0000 (09:42 -0800)
commita6cd2d94e1072a5756b5e5ab647d3223cba7e555
treeb1b5ebe4f33aedf1d982f6fbe07b5873ade3afae
parentdfbc9e9d33adb1ac9910dd7f8ceb911947039a52
[PATCH] i2c-ixp4xx: fix ") != 0))" typo

i2c_bit_add_bus() returns -E;
-E != 0 => err = 1
probe fails with positive error code

Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Cc: Deepak Saxena <dsaxena@mvista.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/i2c/busses/i2c-ixp4xx.c