Skip to content

Commit 27902c1

Browse files
lyakhcjb
authored andcommitted
mmc: tmio: remove unused and deprecated symbols
The tmio_mmc_cd_wakeup() inline function has been deprecated since 3.4 and is unused since 3.4 too. Remove them. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
1 parent ac51b96 commit 27902c1

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

‎include/linux/mfd/tmio.h‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@
6464
* Some controllers can support SDIO IRQ signalling.
6565
*/
6666
#define TMIO_MMC_SDIO_IRQ (1 << 2)
67-
/*
68-
* Some platforms can detect card insertion events with controller powered
69-
* down, using a GPIO IRQ, in which case they have to fill in cd_irq, cd_gpio,
70-
* and cd_flags fields of struct tmio_mmc_data.
71-
*/
72-
#define TMIO_MMC_HAS_COLD_CD (1 << 3)
7367
/*
7468
* Some controllers require waiting for the SD bus to become
7569
* idle before writing to some registers.
@@ -116,18 +110,6 @@ struct tmio_mmc_data {
116110
void (*clk_disable)(struct platform_device *pdev);
117111
};
118112

119-
/*
120-
* This function is deprecated and will be removed soon. Please, convert your
121-
* platform to use drivers/mmc/core/cd-gpio.c
122-
*/
123-
#include <linux/mmc/host.h>
124-
static inline void tmio_mmc_cd_wakeup(struct tmio_mmc_data *pdata)
125-
{
126-
if (pdata)
127-
mmc_detect_change(dev_get_drvdata(pdata->dev),
128-
msecs_to_jiffies(100));
129-
}
130-
131113
/*
132114
* data for the NAND controller
133115
*/

0 commit comments

Comments
 (0)