]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
twl4030: new-style driver conversion
authorDavid Brownell <david-b@pacbell.net>
Sun, 21 Sep 2008 21:08:47 +0000 (14:08 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 23 Sep 2008 10:49:16 +0000 (13:49 +0300)
commit3d1322663fef6c9b1477c744f03d781e3f531239
treec7e3346cf3c54852c9c9f75b284fa2a738beacf8
parentec70ed35c230d13bad310433fc40bb0c75a582d6
twl4030: new-style driver conversion

More updates preparing for upstream merge of twl4030 driver:

 Basic fixes
   - twl4030-core becomes a new-style I2C driver
   - declare and use platform_data structure for that core
   - stop hard-wiring the irq numbers
   - check functionality that's really used:  I2C, not SMBus
 Cleanup:
   - remove needless "client string"
   - remove some fake "bool" types
   - include catalog part numbers (TPS659{5,3,2}0)
   - diagnostics should identify the driver!

To use this, all boards with these chips will need to declare this chip
when they declare their active I2C busses (done in a separate patch).

NOTE:  the TWL4030_IRQ_* symbols still need to vanish, along with other
global resource assignments associated with these chips.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/twl4030-core.c
include/linux/i2c/twl4030.h