Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320643
b: refs/heads/master
c: b26f453
h: refs/heads/master
i:
  320641: b64a686
  320639: 4eae4a9
v: v3
  • Loading branch information
Ezequiel García authored and Mauro Carvalho Chehab committed Jul 30, 2012
1 parent 2337b02 commit d42bb3b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition 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: 272863540371cd86a7f05d6fef7db7868ea79a2e
refs/heads/master: b26f453963a5275a5c408beee7663d5bc096620f
3 changes: 0 additions & 3 deletions trunk/drivers/media/video/cx25821/cx25821-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,16 +307,13 @@ int cx25821_i2c_register(struct cx25821_i2c *bus)

memcpy(&bus->i2c_adap, &cx25821_i2c_adap_template,
sizeof(bus->i2c_adap));
memcpy(&bus->i2c_algo, &cx25821_i2c_algo_template,
sizeof(bus->i2c_algo));
memcpy(&bus->i2c_client, &cx25821_i2c_client_template,
sizeof(bus->i2c_client));

bus->i2c_adap.dev.parent = &dev->pci->dev;

strlcpy(bus->i2c_adap.name, bus->dev->name, sizeof(bus->i2c_adap.name));

bus->i2c_algo.data = bus;
bus->i2c_adap.algo_data = bus;
i2c_set_adapdata(&bus->i2c_adap, &dev->v4l2_dev);
i2c_add_adapter(&bus->i2c_adap);
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/media/video/cx25821/cx25821.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include <linux/pci.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/sched.h>
Expand Down Expand Up @@ -213,7 +212,6 @@ struct cx25821_i2c {

/* i2c i/o */
struct i2c_adapter i2c_adap;
struct i2c_algo_bit_data i2c_algo;
struct i2c_client i2c_client;
u32 i2c_rc;

Expand Down

0 comments on commit d42bb3b

Please sign in to comment.