From: Hans Verkuil Date: Wed, 3 Sep 2008 20:12:09 +0000 (-0300) Subject: V4L/DVB (8790): saa7115: call i2c_set_clientdata only when state != NULL X-Git-Tag: v2.6.27-rc6~37^2~4^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5bf204f42423f49d7ea34f14eef92780204e168;p=pandora-kernel.git V4L/DVB (8790): saa7115: call i2c_set_clientdata only when state != NULL Not a bug as such, but it looks really strange doing this before checking whether the state structure could be allocated. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed