Staging: go7007: fix dangling i2c pointers
authorWolfram Sang <w.sang@pengutronix.de>
Sat, 20 Mar 2010 14:13:01 +0000 (15:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:45 +0000 (11:35 -0700)
commit665752e528c32e40d9f5c684abd53ebd2f1ae724
treedd7fee89b8e90a2dddfa779cdb6fecf3906e3057
parent5ff0dd18267efc0e7b0352fe54b74114b58535ae
Staging: go7007: fix dangling i2c pointers

Fix I2C-drivers which missed setting clientdata to NULL before freeing the
structure it points to. Also fix drivers which do this _after_ the structure
was freed already.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/go7007/wis-saa7113.c
drivers/staging/go7007/wis-saa7115.c
drivers/staging/go7007/wis-tw9903.c