diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-04-29 23:11:38 +0200 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-04-29 23:11:38 +0200 |
commit | 6d072d78f87e8fe0fe30d096991b83af07f8bdfe (patch) | |
tree | 5af6f58271aa711a2f8480f1e7449657ebc55204 /include/linux/i2c-id.h | |
parent | 1842cc2eeb345c4eef069ffd46e95359fb37b4b5 (diff) |
i2c/tps65010: Add missing intialization of client data
tps65010_remove() calls i2c_get_clientdata(client) but the client data
is never set during initialization, so it gets a NULL pointer at best.
I guess it was never spotted because the tps65010 driver is typically
not built modular so this function is discarded.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'include/linux/i2c-id.h')
0 files changed, 0 insertions, 0 deletions