commit | 50c3304a5e1e5217fc6b58fb686edc7d1114f2fa | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Wed Mar 12 14:15:00 2008 +0100 |
committer | Jean Delvare <khali@hyperion.delvare> | Wed Mar 12 14:15:00 2008 +0100 |
tree | b61f31a58fc39f965ff21e0f03315c36c9bd122b | |
parent | 5edc68b8530ff1b3133d057350da98c93cca5a82 [diff] |
i2c: Keep client->driver and client->dev.driver in sync Ensure that client->driver is set to NULL if the probe() returns an error (this keeps client->driver and client->dev.driver in sync). Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>