linux_dsm_epyc7002/drivers/gpu/drm/omapdrm
Laurent Pinchart c068408ef3 drm: omapdrm: dsi: Combine two commonly used inline functions
The dsi_get_dsidrv_data() and dsi_get_dsidev_from_dssdev() inline
functions convert a struct omap_dss_device pointer to the corresponding
struct platform_device, and a struct platform_device pointer to the
corresponding struct dsi_data. They are nearly always called together
without any use of the intermediate platform_device, so combine them
into a single function.

In the three locations where only dsi_get_dsidrv_data() is used, call
dev_get_drvdata() directly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2018-03-01 09:18:18 +02:00
..
displays drm: omapdrm: displays: Get encoder source at connect time 2018-03-01 09:18:18 +02:00
dss drm: omapdrm: dsi: Combine two commonly used inline functions 2018-03-01 09:18:18 +02:00
Kconfig drm/omap: Get rid of DRM_OMAP_NUM_CRTCS config option 2017-04-03 12:36:40 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap_connector.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
omap_connector.h drm: omapdrm: Deconstruct the omap_drv.h header. 2017-12-19 10:32:00 +02:00
omap_crtc.c drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_crtc.h drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_debugfs.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
omap_dmm_priv.h drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_dmm_tiler.c drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_dmm_tiler.h drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_drv.c drm: omapdrm: Split init and cleanup from probe and remove functions 2018-03-01 09:18:18 +02:00
omap_drv.h drm: omapdrm: Split init and cleanup from probe and remove functions 2018-03-01 09:18:18 +02:00
omap_encoder.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
omap_encoder.h drm: omapdrm: Deconstruct the omap_drv.h header. 2017-12-19 10:32:00 +02:00
omap_fb.c drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_fb.h drm: omapdrm: Deconstruct the omap_drv.h header. 2017-12-19 10:32:00 +02:00
omap_fbdev.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
omap_fbdev.h drm: omapdrm: Deconstruct the omap_drv.h header. 2017-12-19 10:32:00 +02:00
omap_gem_dmabuf.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
omap_gem.c drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_gem.h drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_irq.c drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_irq.h drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_plane.c drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
omap_plane.h drm: omapdrm: Deconstruct the omap_drv.h header. 2017-12-19 10:32:00 +02:00
tcm-sita.c drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
tcm-sita.h drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
tcm.h drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
TODO