Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320646
b: refs/heads/master
c: 630081e
h: refs/heads/master
v: v3
  • Loading branch information
Ezequiel García authored and Mauro Carvalho Chehab committed Jul 30, 2012
1 parent 6451454 commit 1ab0585
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ddebe8cdd6c8d5f937c6587d2636079a5d096247
refs/heads/master: 630081e99072f94788011badd6d12707fa3ab410
7 changes: 2 additions & 5 deletions trunk/drivers/media/video/cx23885/cx23885-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,8 @@ int cx23885_i2c_register(struct cx23885_i2c *bus)

dprintk(1, "%s(bus = %d)\n", __func__, bus->nr);

memcpy(&bus->i2c_adap, &cx23885_i2c_adap_template,
sizeof(bus->i2c_adap));
memcpy(&bus->i2c_client, &cx23885_i2c_client_template,
sizeof(bus->i2c_client));

bus->i2c_adap = cx23885_i2c_adap_template;
bus->i2c_client = cx23885_i2c_client_template;
bus->i2c_adap.dev.parent = &dev->pci->dev;

strlcpy(bus->i2c_adap.name, bus->dev->name,
Expand Down

0 comments on commit 1ab0585

Please sign in to comment.