Jean Delvare 6f6b35e133 macintosh: Don't assume i2c device probing always succeeds
If i2c device probing fails, then there is no driver to dereference
after calling i2c_new_device(). Stop assuming that probing will always
succeed, to avoid NULL pointer dereferences. We have an easier access
to the driver anyway.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Tim Shepard <shep@alum.mit.edu>
Cc: Colin Leroy <colin@colino.net>
2009-10-04 22:53:46 +02:00
..
2009-09-22 07:17:27 -07:00
2009-09-24 07:21:05 -07:00
2009-09-23 07:39:43 -07:00
2009-08-26 20:06:52 -07:00
2009-09-24 21:22:33 +01:00
2009-09-15 15:08:40 -04:00
2009-09-23 11:35:41 -04:00
2009-09-23 22:26:32 +09:30
2009-10-04 22:53:41 +02:00
2009-09-23 10:07:49 -07:00