diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-08-08 12:38:43 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-08-24 23:58:12 -0400 |
commit | 2b63b341d42cd64ff40062447320d46cf3e7f0bb (patch) | |
tree | 535764aa418d432de9468ec7432a895b190405f1 /include/linux/mfd | |
parent | 1036563e1417c050993bbd48f20a84ff7c7cef99 (diff) | |
download | linux-stable-2b63b341d42cd64ff40062447320d46cf3e7f0bb.tar.gz linux-stable-2b63b341d42cd64ff40062447320d46cf3e7f0bb.tar.bz2 linux-stable-2b63b341d42cd64ff40062447320d46cf3e7f0bb.zip |
mmc: tmio-mmc: Remove .get_cd() callback from platform data
All platforms pass the CD GPIO number to the driver in the .cd_gpio
field. The .get_cd() callback isn't used anymore, remove it
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/tmio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index ce3511326f80..b22883d60500 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -108,7 +108,6 @@ struct tmio_mmc_data { unsigned int cd_gpio; void (*set_pwr)(struct platform_device *host, int state); void (*set_clk_div)(struct platform_device *host, int state); - int (*get_cd)(struct platform_device *host); int (*write16_hook)(struct tmio_mmc_host *host, int addr); /* clock management callbacks */ int (*clk_enable)(struct platform_device *pdev, unsigned int *f); |