diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-03-20 15:12:58 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-03-22 19:46:16 +0000 |
commit | 8b4709ecea4aab1957ae7b726d6824485404a3a5 (patch) | |
tree | a06347a92952b086cb48e8186682daf4f9884548 /security/device_cgroup.c | |
parent | 451a73cd46573444f68f412c87439c0a291718ec (diff) | |
download | op-kernel-dev-8b4709ecea4aab1957ae7b726d6824485404a3a5.zip op-kernel-dev-8b4709ecea4aab1957ae7b726d6824485404a3a5.tar.gz |
regulator: fix dangling 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>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions