diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-05-04 11:09:27 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-05-04 11:09:27 +0200 |
commit | e4a7b9b04de15f6b63da5ccdd373ffa3057a3681 (patch) | |
tree | 7f2f49df9dc66b334b85f83347df03d2b0d0a721 /drivers/spi | |
parent | d93ac51c7a129db7a1431d859a3ef45a0b1f3fc5 (diff) |
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 <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions