diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-03-12 09:15:00 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-03-12 09:15:00 -0400 |
commit | 50c3304a5e1e5217fc6b58fb686edc7d1114f2fa (patch) | |
tree | b61f31a58fc39f965ff21e0f03315c36c9bd122b /drivers/i2c/Makefile | |
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>
Diffstat (limited to 'drivers/i2c/Makefile')
0 files changed, 0 insertions, 0 deletions