]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Fix dangling pointers
authorWolfram Sang <w.sang@pengutronix.de>
Sat, 20 Mar 2010 14:12:54 +0000 (15:12 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 27 May 2010 23:37:28 +0000 (01:37 +0200)
commitf322d5f0097333343bfd92b47258ee997c889263
treed6f0d4b0e0f6e6a8fa778a73c740916ca5616dd2
parentd84027bc4d176a0c06e8f62a9f7a002bdd444012
mfd: 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>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm860x-i2c.c
drivers/mfd/ab3100-core.c
drivers/mfd/da903x.c
drivers/mfd/menelaus.c
drivers/mfd/pcf50633-core.c
drivers/mfd/tps65010.c
drivers/mfd/wm8350-i2c.c