From: Wolfram Sang Date: Tue, 4 May 2010 09:09:27 +0000 (+0200) Subject: i2c-core: Erase pointer to clientdata on removal X-Git-Tag: v2.6.34-rc7~29^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4a7b9b04de15f6b63da5ccdd373ffa3057a3681;p=pandora-kernel.git i2c-core: Erase pointer to clientdata on removal After discovering that a lot of i2c-drivers leave the pointer to their clientdata dangling, it was decided to let the core handle this issue. It is assumed that the core may access the private data after remove() as there are no guarantees for the lifetime of such pointers anyhow (see thread starting at http://lkml.org/lkml/2010/3/21/68) Signed-off-by: Wolfram Sang Signed-off-by: Jean Delvare --- Reading git-diff-tree failed