[PATCH/RFC 9/7] drm: omapdrm: Don't forward set_min_bus_tput() to no-op platform code
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Dec 14 01:58:01 UTC 2016
The OMAP implementation of the set_min_bus_tput() API is a no-op.
There's no point in forwarding the driver calls to the platform code.
Remove the use of the related platform data callback, but keep the
internal function as a reminder that the feature will need to be
implemented when the OMAP platform will provide support.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
drivers/gpu/drm/omapdrm/dss/core.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/omapdrm/dss/core.c b/drivers/gpu/drm/omapdrm/dss/core.c
index b173f2889819..5dfb79c02ab3 100644
--- a/drivers/gpu/drm/omapdrm/dss/core.c
+++ b/drivers/gpu/drm/omapdrm/dss/core.c
@@ -78,12 +78,8 @@ struct platform_device *dss_get_core_pdev(void)
int dss_set_min_bus_tput(struct device *dev, unsigned long tput)
{
- struct omap_dss_board_info *pdata = core.pdev->dev.platform_data;
-
- if (pdata->set_min_bus_tput)
- return pdata->set_min_bus_tput(dev, tput);
- else
- return 0;
+ /* To be implemented when the OMAP platform provides this feature. */
+ return 0;
}
#if defined(CONFIG_OMAP2_DSS_DEBUGFS)
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list