diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-08-08 06:38:38 -0400 |
|---|---|---|
| committer | Chris Ball <cjb@laptop.org> | 2013-08-24 23:58:06 -0400 |
| commit | 62b6af5c7ee28a3faf9638e509fd2da85a97229d (patch) | |
| tree | d7d2f8bb748efc0ae5cbe193753fcb622822d6a0 /include/linux/spi | |
| parent | f0af3689e7d68af35363a3b8d31851561832a914 (diff) | |
mmc: mmc_spi: Remove platform data .get_cd() and .get_ro() callbacks
All platforms now pass the CD and RO GPIOs to the MMC SPI driver, those
callbacks are not used anymore. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/spi')
| -rw-r--r-- | include/linux/spi/mmc_spi.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/spi/mmc_spi.h b/include/linux/spi/mmc_spi.h index 87cdb35bedda..274bc0fa00af 100644 --- a/include/linux/spi/mmc_spi.h +++ b/include/linux/spi/mmc_spi.h | |||
| @@ -26,15 +26,6 @@ struct mmc_spi_platform_data { | |||
| 26 | void *); | 26 | void *); |
| 27 | void (*exit)(struct device *, void *); | 27 | void (*exit)(struct device *, void *); |
| 28 | 28 | ||
| 29 | /* sense switch on sd cards */ | ||
| 30 | int (*get_ro)(struct device *); | ||
| 31 | |||
| 32 | /* | ||
| 33 | * If board does not use CD interrupts, driver can optimize polling | ||
| 34 | * using this function. | ||
| 35 | */ | ||
| 36 | int (*get_cd)(struct device *); | ||
| 37 | |||
| 38 | /* | 29 | /* |
| 39 | * Card Detect and Read Only GPIOs. To enable debouncing on the card | 30 | * Card Detect and Read Only GPIOs. To enable debouncing on the card |
| 40 | * detect GPIO, set the cd_debounce to the debounce time in | 31 | * detect GPIO, set the cd_debounce to the debounce time in |
