diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-07-15 10:25:30 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-07-15 13:54:17 -0600 |
commit | 1bb6f9b042eb1428ba927d2e851a00df6308877a (patch) | |
tree | 6f9c2a14b9b852ad99cfbba775370aae89461c71 /include/linux/spi | |
parent | eb5064db408eaffa332f93ddcc19c0b653849093 (diff) |
mcp23s08: get rid of setup/teardown callbacks
There's no in-tree users, and bus notifiers are more generic anyway.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/mcp23s08.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/spi/mcp23s08.h b/include/linux/spi/mcp23s08.h index c42cff8ca191..2d676d5aaa89 100644 --- a/include/linux/spi/mcp23s08.h +++ b/include/linux/spi/mcp23s08.h @@ -22,13 +22,4 @@ struct mcp23s08_platform_data { * base to base+15 (or base+31 for s17 variant). */ unsigned base; - - void *context; /* param to setup/teardown */ - - int (*setup)(struct spi_device *spi, - int gpio, unsigned ngpio, - void *context); - int (*teardown)(struct spi_device *spi, - int gpio, unsigned ngpio, - void *context); }; |