commit | 7429b3842cfb2b8ef5d333d8f680d80f8f7c787f | [log] [tgz] |
---|---|---|
author | Wolfram Sang <w.sang@pengutronix.de> | Sat Mar 20 04:12:50 2010 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Apr 07 18:00:46 2010 +1000 |
tree | 978cf3d94918070f5e6303d1aad233b3b4e57cd3 | |
parent | 21dbeb91a24d867af0e98ba155bfa80d2906344f [diff] |
powerpc/pmac: 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: Colin Leroy <colin@colino.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>