Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357362
b: refs/heads/master
c: f167e30
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 23, 2013
1 parent 96d0a5e commit 09bd9ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: f66d81b54dac26d4e601d4d7faca53f3bdc98427
refs/heads/master: f167e302c6a1321ae9f4d3a24a6e5bac90a5c79d
10 changes: 5 additions & 5 deletions trunk/drivers/media/dvb-frontends/mb86a20s.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,12 +698,12 @@ struct dvb_frontend *mb86a20s_attach(const struct mb86a20s_config *config,
struct mb86a20s_state *state;
u8 rev;

dev_dbg(&i2c->dev, "%s called.\n", __func__);

/* allocate memory for the internal state */
state = kzalloc(sizeof(struct mb86a20s_state), GFP_KERNEL);

dev_dbg(&state->i2c->dev, "%s called.\n", __func__);
if (state == NULL) {
dev_err(&state->i2c->dev,
dev_err(&i2c->dev,
"%s: unable to allocate memory for state\n", __func__);
goto error;
}
Expand All @@ -721,10 +721,10 @@ struct dvb_frontend *mb86a20s_attach(const struct mb86a20s_config *config,
rev = mb86a20s_readreg(state, 0);

if (rev == 0x13) {
dev_info(&state->i2c->dev,
dev_info(&i2c->dev,
"Detected a Fujitsu mb86a20s frontend\n");
} else {
dev_dbg(&state->i2c->dev,
dev_dbg(&i2c->dev,
"Frontend revision %d is unknown - aborting.\n",
rev);
goto error;
Expand Down

0 comments on commit 09bd9ff

Please sign in to comment.