V4L/DVB (8790): saa7115: call i2c_set_clientdata only when state != NULL
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 3 Sep 2008 20:12:09 +0000 (17:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 3 Sep 2008 21:37:18 +0000 (18:37 -0300)
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 <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found