Skip to content

Commit d3e9a8d

Browse files
Laurent Pinchartcjb
authored andcommitted
sh: ecovec24: Remove mmcif .down_pwr() callback
The callback isn't used by the mmcif driver, don't initialize it in board code. 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>
1 parent afa2c94 commit d3e9a8d

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • arch/sh/boards/mach-ecovec24

‎arch/sh/boards/mach-ecovec24/setup.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -980,11 +980,6 @@ static struct platform_device vou_device = {
980980

981981
#if defined(CONFIG_MMC_SH_MMCIF) || defined(CONFIG_MMC_SH_MMCIF_MODULE)
982982
/* SH_MMCIF */
983-
static void mmcif_down_pwr(struct platform_device *pdev)
984-
{
985-
cn12_set_pwr(pdev, 0);
986-
}
987-
988983
static struct resource sh_mmcif_resources[] = {
989984
[0] = {
990985
.name = "SH_MMCIF",
@@ -1006,7 +1001,6 @@ static struct resource sh_mmcif_resources[] = {
10061001

10071002
static struct sh_mmcif_plat_data sh_mmcif_plat = {
10081003
.set_pwr = cn12_set_pwr,
1009-
.down_pwr = mmcif_down_pwr,
10101004
.sup_pclk = 0, /* SH7724: Max Pclk/2 */
10111005
.caps = MMC_CAP_4_BIT_DATA |
10121006
MMC_CAP_8_BIT_DATA |

0 commit comments

Comments
 (0)