diff options
author | Andres Salomon <dilinger@queued.net> | 2010-12-31 07:27:33 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-14 14:38:15 +0300 |
commit | de8255ccd219267cfd34139022b197c1ef8f032f (patch) | |
tree | be7744be209561f07d41bde109897de7dbd20bbf /include/linux/mfd | |
parent | 419cdc54ea597d307fade607a65e4885634eb8c8 (diff) | |
download | linux-de8255ccd219267cfd34139022b197c1ef8f032f.tar.xz |
i2c: Convert SCx200 driver from using raw PCI to platform device
The SCx200 ACB driver supports ISA hardware as well as PCI. The PCI
hardware is CS5535/CS5536 based, and the device that it grabs is handled by
the cs5535-mfd driver. This converts the SCx200 driver to use a
platform_driver rather than the previous PCI hackery.
The driver used to manually track the iface list (via linked list); now it
only does this for ISA devices. PCI ifaces are handled through standard
driver model lists.
It's unclear what happens in case of errors in the old ISA code; rather than
pretending the code actually cares, I've dropped the (implicit) ignorance
of return values and marked it with a comment.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
0 files changed, 0 insertions, 0 deletions