| From ccf38069b7e0b57169ac6c2aeece1403ed9538ec Mon Sep 17 00:00:00 2001 |
| From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Date: Thu, 8 Aug 2013 12:38:39 +0200 |
| Subject: mmc: sh_mmcif: Remove .down_pwr() callback from platform data |
| |
| The callback isn't used by the driver and isn't initialized by board |
| code. 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> |
| (cherry picked from commit dcbfaf36c1933d88565501ff13feb0f4b2d38735) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| include/linux/mmc/sh_mmcif.h | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| diff --git a/include/linux/mmc/sh_mmcif.h b/include/linux/mmc/sh_mmcif.h |
| index e7d5dd67..39011eb4 100644 |
| --- a/include/linux/mmc/sh_mmcif.h |
| +++ b/include/linux/mmc/sh_mmcif.h |
| @@ -34,7 +34,6 @@ |
| |
| struct sh_mmcif_plat_data { |
| void (*set_pwr)(struct platform_device *pdev, int state); |
| - void (*down_pwr)(struct platform_device *pdev); |
| int (*get_cd)(struct platform_device *pdef); |
| unsigned int slave_id_tx; /* embedded slave_id_[tr]x */ |
| unsigned int slave_id_rx; |
| -- |
| 1.8.4.3.gca3854a |
| |