commit | d62b98f305a6b0d32fbdc72ac6ba3d4f4768adeb | [log] [tgz] |
---|---|---|
author | Peter Korsgaard <jacmet@sunsite.dk> | Fri Jul 15 10:25:31 2011 +0200 |
committer | Grant Likely <grant.likely@secretlab.ca> | Fri Jul 15 13:54:18 2011 -0600 |
tree | 4d449ba816ce6ddc3df16822863b9c6132b93deb | |
parent | 1bb6f9b042eb1428ba927d2e851a00df6308877a [diff] |
mcp23s08: isolate spi specific parts Change spi member of struct mcp23s08 to be a ops-specific opaque data pointer, and move spi specific knowledge out of mcp23s08_probe_one(). No functional change, but is needed to add i2c support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>