diff options
| author | Andrey Smirnov <[email protected]> | 2019-04-03 04:01:22 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-04-03 04:32:21 +0000 |
| commit | 4d9f8fed42694016b015cbfe201effe8aff0d1b3 (patch) | |
| tree | 4f7619b4433e0fed151c633ca8d651428e87cbaf /drivers/spi/spi-gpio.c | |
| parent | spi: bcm2835aux: make the polling duration limits configurable (diff) | |
| download | kernel-4d9f8fed42694016b015cbfe201effe8aff0d1b3.tar.gz kernel-4d9f8fed42694016b015cbfe201effe8aff0d1b3.zip | |
spi: gpio: Drop unused spi_to_pdata()
Spi_to_pdata() is not used anywhere in the code. Drop it.
Signed-off-by: Andrey Smirnov <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
| -rw-r--r-- | drivers/spi/spi-gpio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c index 53b35c56a557..675fd65ebf1d 100644 --- a/drivers/spi/spi-gpio.c +++ b/drivers/spi/spi-gpio.c @@ -96,12 +96,6 @@ spi_to_spi_gpio(const struct spi_device *spi) return spi_gpio; } -static inline struct spi_gpio_platform_data *__pure -spi_to_pdata(const struct spi_device *spi) -{ - return &spi_to_spi_gpio(spi)->pdata; -} - /* These helpers are in turn called by the bitbang inlines */ static inline void setsck(const struct spi_device *spi, int is_on) { |
