diff options
author | Laurent Pinchart | 2013-08-08 12:38:41 +0200 |
---|---|---|
committer | Chris Ball | 2013-08-24 23:58:09 -0400 |
commit | 57fcb523e5fce1c24e9c28b64f6e6dc3edf55073 (patch) | |
tree | 0039288a122b62ce94fd16f6577a1013fd3c47ed /include/linux/mmc | |
parent | 83a0c7797e96e103bb3b6fcf8afb7b65dc7fc68e (diff) |
mmc: sh_mobile_sdhi: 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/mmc')
-rw-r--r-- | include/linux/mmc/sh_mobile_sdhi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h index b76bcf0621f6..f31c69262232 100644 --- a/include/linux/mmc/sh_mobile_sdhi.h +++ b/include/linux/mmc/sh_mobile_sdhi.h @@ -26,7 +26,6 @@ struct sh_mobile_sdhi_info { u32 tmio_ocr_mask; /* available MMC voltages */ unsigned int cd_gpio; void (*set_pwr)(struct platform_device *pdev, int state); - int (*get_cd)(struct platform_device *pdev); /* callbacks for board specific setup code */ int (*init)(struct platform_device *pdev, |