From: Jean Delvare Date: Tue, 29 Apr 2008 21:11:38 +0000 (+0200) Subject: i2c/tps65010: Add missing intialization of client data X-Git-Tag: v2.6.26-rc1~353^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d072d78f87e8fe0fe30d096991b83af07f8bdfe;p=pandora-kernel.git i2c/tps65010: Add missing intialization of client data tps65010_remove() calls i2c_get_clientdata(client) but the client data is never set during initialization, so it gets a NULL pointer at best. I guess it was never spotted because the tps65010 driver is typically not built modular so this function is discarded. Signed-off-by: Jean Delvare Cc: David Brownell --- Reading git-diff-tree failed