Skip to content

Commit

Permalink
mmc: tmio: remove unused and deprecated symbols
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guennadi Liakhovetski authored and Chris Ball committed Feb 24, 2013
1 parent ac51b96 commit 27902c1
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions include/linux/mfd/tmio.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@
* Some controllers can support SDIO IRQ signalling.
*/
#define TMIO_MMC_SDIO_IRQ (1 << 2)
/*
* Some platforms can detect card insertion events with controller powered
* down, using a GPIO IRQ, in which case they have to fill in cd_irq, cd_gpio,
* and cd_flags fields of struct tmio_mmc_data.
*/
#define TMIO_MMC_HAS_COLD_CD (1 << 3)
/*
* Some controllers require waiting for the SD bus to become
* idle before writing to some registers.
Expand Down Expand Up @@ -116,18 +110,6 @@ struct tmio_mmc_data {
void (*clk_disable)(struct platform_device *pdev);
};

/*
* This function is deprecated and will be removed soon. Please, convert your
* platform to use drivers/mmc/core/cd-gpio.c
*/
#include <linux/mmc/host.h>
static inline void tmio_mmc_cd_wakeup(struct tmio_mmc_data *pdata)
{
if (pdata)
mmc_detect_change(dev_get_drvdata(pdata->dev),
msecs_to_jiffies(100));
}

/*
* data for the NAND controller
*/
Expand Down

0 comments on commit 27902c1

Please sign in to comment.