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>
This commit is contained in:
parent
eb5064db40
commit
1bb6f9b042
2 changed files with 0 additions and 28 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue