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
..
2008-06-20 14:05:54 -06:00
2008-12-28 20:00:03 +01:00
2008-12-28 20:00:03 +01:00
2009-08-26 23:14:49 +02:00
2008-12-28 20:00:03 +01:00
2009-09-07 14:37:27 +01:00
2006-03-06 18:40:45 -08:00