mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
* 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6: i2c: Fix OMAP clock prescaler to match the comment i2c: Refactor a kfree in i2c-dev i2c: Fix return value check in i2c-dev i2c: Enable PEC on more i2c-i801 devices i2c: Discard the i2c algo del_bus wrappers i2c: New ARM Versatile/Realview bus driver i2c: fix broken ds1337 initialization i2c: i2c-i801 documentation update i2c: Use the __ATTR macro where possible i2c: Whitespace cleanups i2c: Use put_user instead of copy_to_user where possible i2c: New Atmel AT91 bus driver i2c: Add support for nested i2c bus locking i2c: Cleanups to the i2c-nforce2 bus driver i2c: Add request/release_mem_region to i2c-ibm_iic bus driver i2c: New Philips PNX bus driver i2c: Delete the broken i2c-ite bus driver i2c: Update the list of driver IDs i2c: Fix documentation typos
This commit is contained in:
commit
659dba3480
68 changed files with 1730 additions and 1590 deletions
|
|
@ -650,7 +650,7 @@ static int __devinit pluto2_probe(struct pci_dev *pdev,
|
|||
/* dvb */
|
||||
ret = dvb_register_adapter(&pluto->dvb_adapter, DRIVER_NAME, THIS_MODULE, &pdev->dev);
|
||||
if (ret < 0)
|
||||
goto err_i2c_bit_del_bus;
|
||||
goto err_i2c_del_adapter;
|
||||
|
||||
dvb_adapter = &pluto->dvb_adapter;
|
||||
|
||||
|
|
@ -712,8 +712,8 @@ err_dvb_dmx_release:
|
|||
dvb_dmx_release(dvbdemux);
|
||||
err_dvb_unregister_adapter:
|
||||
dvb_unregister_adapter(dvb_adapter);
|
||||
err_i2c_bit_del_bus:
|
||||
i2c_bit_del_bus(&pluto->i2c_adap);
|
||||
err_i2c_del_adapter:
|
||||
i2c_del_adapter(&pluto->i2c_adap);
|
||||
err_pluto_hw_exit:
|
||||
pluto_hw_exit(pluto);
|
||||
err_free_irq:
|
||||
|
|
@ -748,7 +748,7 @@ static void __devexit pluto2_remove(struct pci_dev *pdev)
|
|||
dvb_dmxdev_release(&pluto->dmxdev);
|
||||
dvb_dmx_release(dvbdemux);
|
||||
dvb_unregister_adapter(dvb_adapter);
|
||||
i2c_bit_del_bus(&pluto->i2c_adap);
|
||||
i2c_del_adapter(&pluto->i2c_adap);
|
||||
pluto_hw_exit(pluto);
|
||||
free_irq(pdev->irq, pluto);
|
||||
pci_iounmap(pdev, pluto->io_mem);
|
||||
|
|
|
|||
|
|
@ -479,11 +479,7 @@ int __devexit fini_bttv_i2c(struct bttv *btv)
|
|||
if (0 != btv->i2c_rc)
|
||||
return 0;
|
||||
|
||||
if (btv->use_i2c_hw) {
|
||||
return i2c_del_adapter(&btv->c.i2c_adap);
|
||||
} else {
|
||||
return i2c_bit_del_bus(&btv->c.i2c_adap);
|
||||
}
|
||||
return i2c_del_adapter(&btv->c.i2c_adap);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1153,7 +1153,7 @@ void cx88_core_put(struct cx88_core *core, struct pci_dev *pci)
|
|||
mutex_lock(&devlist);
|
||||
cx88_ir_fini(core);
|
||||
if (0 == core->i2c_rc)
|
||||
i2c_bit_del_bus(&core->i2c_adap);
|
||||
i2c_del_adapter(&core->i2c_adap);
|
||||
list_del(&core->devlist);
|
||||
iounmap(core->lmmio);
|
||||
cx88_devcount--;
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ void vp3054_i2c_remove(struct cx8802_dev *dev)
|
|||
dev->core->board != CX88_BOARD_DNTV_LIVE_DVB_T_PRO)
|
||||
return;
|
||||
|
||||
i2c_bit_del_bus(&vp3054_i2c->adap);
|
||||
i2c_del_adapter(&vp3054_i2c->adap);
|
||||
kfree(vp3054_i2c);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -782,7 +782,7 @@ static int vino_i2c_add_bus(void)
|
|||
|
||||
static int vino_i2c_del_bus(void)
|
||||
{
|
||||
return i2c_sgi_del_bus(&vino_i2c_adapter);
|
||||
return i2c_del_adapter(&vino_i2c_adapter);
|
||||
}
|
||||
|
||||
static int i2c_camera_command(unsigned int cmd, void *arg)
|
||||
|
|
|
|||
|
|
@ -849,7 +849,7 @@ zoran_register_i2c (struct zoran *zr)
|
|||
static void
|
||||
zoran_unregister_i2c (struct zoran *zr)
|
||||
{
|
||||
i2c_bit_del_bus((&zr->i2c_adapter));
|
||||
i2c_del_adapter(&zr->i2c_adapter);
|
||||
}
|
||||
|
||||
/* Check a zoran_params struct for correctness, insert default params */
|
||||
|
|
|
|||
Loading…
Reference in a new issue