The omapdss set_min_bus_tput platform data callback is unused. Remove
it.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 arch/arm/mach-omap2/display.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 5bb5f848a25a..570e48c11568 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -30,7 +30,6 @@
 #include <linux/platform_data/omapdss.h>
 #include "omap_hwmod.h"
 #include "omap_device.h"
-#include "omap-pm.h"
 #include "common.h"

 #include "soc.h"
@@ -72,11 +71,6 @@ static struct platform_device omap_display_device = {
        },
 };

-static int omap_dss_set_min_bus_tput(struct device *dev, unsigned long tput)
-{
-       return omap_pm_set_min_bus_tput(dev, OCP_INITIATOR_AGENT, tput);
-}
-
 static enum omapdss_version __init omap_display_get_version(void)
 {
        if (cpu_is_omap24xx())
@@ -286,9 +280,7 @@ int __init omapdss_init_of(void)
        struct device_node *node;
        struct platform_device *pdev;

-       static struct omap_dss_board_info board_data = {
-               .set_min_bus_tput = omap_dss_set_min_bus_tput,
-       };
+       static struct omap_dss_board_info board_data = { 0 };

        /* only create dss helper devices if dss is enabled in the .dts */

-- 
Regards,

Laurent Pinchart

Reply via email to