diff options
author | 2008-03-12 14:15:00 +0100 | |
---|---|---|
committer | 2008-03-12 14:15:00 +0100 | |
commit | 50c3304a5e1e5217fc6b58fb686edc7d1114f2fa (patch) | |
tree | b61f31a58fc39f965ff21e0f03315c36c9bd122b /mm/mm_init.c | |
parent | i2c-amd756: Fix off-by-one (diff) | |
download | wireguard-linux-50c3304a5e1e5217fc6b58fb686edc7d1114f2fa.tar.xz wireguard-linux-50c3304a5e1e5217fc6b58fb686edc7d1114f2fa.zip |
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 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions