V4L/DVB: dvb/stv6110x: cleanup error handling
authorDan Carpenter <error27@gmail.com>
Wed, 5 May 2010 05:58:18 +0000 (02:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:12 +0000 (12:59 -0300)
commit83b6601c880d1b908b07952e9a5fdbe5f5c76c96
tree80201751f647f21651553de310ddd295b0202941
parent1a2f7178cbfeea7045b6cd226319d528f60891b8
V4L/DVB: dvb/stv6110x: cleanup error handling

The "stv6110x" is NULL so we can just return directly without calling
kfree().  Also I changed the printk() to make checkpatch.pl happy.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stv6110x.c