Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193153
b: refs/heads/master
c: 83b6601
h: refs/heads/master
i:
  193151: ad505e3
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent d3f4ad5 commit d1fb470
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a2f7178cbfeea7045b6cd226319d528f60891b8
refs/heads/master: 83b6601c880d1b908b07952e9a5fdbe5f5c76c96
10 changes: 3 additions & 7 deletions trunk/drivers/media/dvb/frontends/stv6110x.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ struct stv6110x_devctl *stv6110x_attach(struct dvb_frontend *fe,
u8 default_regs[] = {0x07, 0x11, 0xdc, 0x85, 0x17, 0x01, 0xe6, 0x1e};

stv6110x = kzalloc(sizeof (struct stv6110x_state), GFP_KERNEL);
if (stv6110x == NULL)
goto error;
if (!stv6110x)
return NULL;

stv6110x->i2c = i2c;
stv6110x->config = config;
Expand Down Expand Up @@ -392,12 +392,8 @@ struct stv6110x_devctl *stv6110x_attach(struct dvb_frontend *fe,
fe->tuner_priv = stv6110x;
fe->ops.tuner_ops = stv6110x_ops;

printk("%s: Attaching STV6110x \n", __func__);
printk(KERN_INFO "%s: Attaching STV6110x\n", __func__);
return stv6110x->devctl;

error:
kfree(stv6110x);
return NULL;
}
EXPORT_SYMBOL(stv6110x_attach);

Expand Down

0 comments on commit d1fb470

Please sign in to comment.