[PATCH] macintosh: don't store i2c_add_driver() return if no further processing done
commitc9662b4b37f8f00a212eb4131d1d177b6ed8ddbd
authorArthur Othieno <a.othieno@bluewin.ch>
Fri, 6 Jan 2006 08:11:29 +0000 (6 00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:30 +0000 (6 08:33 -0800)
tree3224e01f06a95b61dbcc9031596de7b42e1db641
parente13ac219816c58579f40b48220b2fa5d94c30e84
[PATCH] macintosh: don't store i2c_add_driver() return if no further processing done

therm_pm72.c and windfarm_lm75_sensor.c both store the return from
i2c_add_driver() but do no further processing on the result.  Simply return
what i2c_add_driver() did, instead.

Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/macintosh/therm_pm72.c
drivers/macintosh/windfarm_lm75_sensor.c