Skip to content

Commit

Permalink
V4L/DVB: [nGene] Trivial I2C related fixes/cleanups
Browse files Browse the repository at this point in the history
Trivial I2C related fixes/cleanups
 - Remove Unused I2C ID
 - point the I2C device to the physical device

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 9fdd797 commit c58b5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/ngene/ngene-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,9 @@ static int ngene_i2c_init(struct ngene *dev, int dev_nr)

strcpy(adap->name, "nGene");

adap->id = I2C_HW_SAA7146;
adap->algo = &ngene_i2c_algo;
adap->algo_data = (void *)&(dev->channel[dev_nr]);
adap->dev.parent = &dev->pci_dev->dev;

mutex_init(&adap->bus_lock);
return i2c_add_adapter(adap);
Expand Down

0 comments on commit c58b5ec

Please sign in to comment.