Commit Graph
5 Commits
Author SHA1 Message Date
Axel Lin 38a36f5a6a mfd: Use module_pci_driver
This patch converts the drivers in drivers/mfd/* to use module_pci_driver()
macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <[email protected]>
Cc: Andres Salomon <[email protected]>
Cc: Ira W. Snyder <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Denis Turischev <[email protected]>
Cc: Harald Welte <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
2012-05-01 12:00:21 +02:00
Axel Lin 61485c63c4 mfd: Convert to DEFINE_PCI_DEVICE_TABLE
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
tables.

Cc: Andres Salomon <[email protected]>
Cc: Denis Turischev <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: Vincent Sanders <[email protected]>
Cc: Mocean Laboratories <[email protected]>
Cc: Harald Welte <[email protected]>
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
2012-01-09 00:37:37 +01:00
Axel Lin bcd2f63962 mfd: Add MODULE_DEVICE_TABLE to vx855
The device table is required to load modules based on modaliases.
After adding the MODULE_DEVICE_TABLE, below entries will be added to
modules.pcimap:
vx855                0x00001106 0x00008409 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0

Signed-off-by: Axel Lin <[email protected]>
Acked-by: Harald Welte <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
2011-03-23 10:41:59 +01:00
Axel Lin 3ec33012dc mfd: Add __devexit annotation for vx855_remove
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Harald Welte <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
2011-01-14 12:38:12 +01:00
Daniel Drake 375fc77ba9 mfd: Add VIA VX855 multi-function device support
This device has GPIO, SPI and I2C capabilities.

The hardware can be found in the OLPC XO-1.5 laptop.

Based on earlier work by Harald Welte.

Signed-off-by: Daniel Drake <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
2010-10-29 00:29:49 +02:00