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
..
2007-08-22 22:39:35 -05:00
2008-10-16 09:24:43 -07:00
2008-07-21 00:55:14 -04:00
2008-06-20 14:05:54 -06:00
2007-08-22 22:43:29 -05:00
2007-05-02 16:42:19 +10:00
2009-04-22 14:56:35 +10:00
2008-04-25 18:57:09 -07:00
2009-08-20 10:29:26 +10:00
2008-05-14 22:31:28 +10:00
2007-04-24 22:08:57 +10:00
2008-04-29 15:57:35 +10:00
2009-04-24 08:16:05 -07:00
2007-02-12 09:48:45 -08:00
2009-09-21 15:14:58 +02:00
2008-07-15 15:44:51 +10:00
2009-10-04 22:53:46 +02:00
2009-10-04 22:53:46 +02:00
2006-07-28 10:42:49 +10:00
2009-09-02 15:46:00 +10: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
2008-03-13 10:09:27 +11:00
2006-06-26 01:49:55 -04:00
2006-06-26 01:49:55 -04:00
2009-09-07 14:37:27 +01:00
2008-12-21 14:21:15 +11:00
2007-11-08 14:15:34 +11:00
2006-06-30 19:25:36 +02:00
2009-10-04 22:53:46 +02:00
2009-10-04 22:53:46 +02:00
2006-03-06 18:40:45 -08:00
2006-02-07 22:05:14 -08:00
2008-04-24 20:56:52 +10:00
2008-04-24 20:56:52 +10:00
2008-04-24 20:56:52 +10:00
2008-04-29 15:57:35 +10:00
2008-04-29 15:57:35 +10:00
2009-10-04 22:53:46 +02:00
2007-04-27 15:51:56 +10:00
2006-02-07 22:05:14 -08:00