From: Wolfram Sang Date: Sat, 20 Mar 2010 14:12:58 +0000 (+0100) Subject: regulator: fix dangling pointers X-Git-Tag: v2.6.34-rc3~40^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b4709ecea4aab1957ae7b726d6824485404a3a5;p=pandora-kernel.git 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 Cc: Liam Girdwood Cc: Mark Brown Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed