summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/tc358764.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-05-19 20:36:36 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-05-26 10:55:04 +0200
commit95b608044fe0ea128133fdf6ee4c999d5165f7af (patch)
tree77a5b8b86f65c6d3f821ee15ca7d7ed64b6ea6b0 /drivers/gpu/drm/bridge/tc358764.c
parent54e6a745aad30ba82bbea5b0e9869e42a39cbbc3 (diff)
downloadlwn-95b608044fe0ea128133fdf6ee4c999d5165f7af.tar.gz
lwn-95b608044fe0ea128133fdf6ee4c999d5165f7af.zip
drm/bridge: drop drmP.h usage
Drop use of the deprecated drmP.h header file. While touching the list of include files: - Divide include files in blocks of linux/* drm/* etc. - Sort individual blocks of include files - Remove duplicated header file v2: - Be consistent in the order of the include blocks (Laurent) Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Laurent Pinchart <Laurent.pinchart@ideasonboard.com> Cc: Andrzej Hajda <a.hajda@samsung.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Peter Senna Tschudin <peter.senna@gmail.com> Cc: Martin Donnelly <martin.donnelly@ge.com> Cc: Martyn Welch <martyn.welch@collabora.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190519183636.19588-1-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/bridge/tc358764.c')
-rw-r--r--drivers/gpu/drm/bridge/tc358764.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/gpu/drm/bridge/tc358764.c b/drivers/gpu/drm/bridge/tc358764.c
index a20e454ddd64..170f162ffa55 100644
--- a/drivers/gpu/drm/bridge/tc358764.c
+++ b/drivers/gpu/drm/bridge/tc358764.c
@@ -7,18 +7,22 @@
* Maciej Purski <m.purski@samsung.com>
*/
+#include <linux/delay.h>
+#include <linux/gpio/consumer.h>
+#include <linux/module.h>
+#include <linux/of_graph.h>
+#include <linux/regulator/consumer.h>
+
+#include <video/mipi_display.h>
+
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_of.h>
#include <drm/drm_panel.h>
+#include <drm/drm_print.h>
#include <drm/drm_probe_helper.h>
-#include <drm/drmP.h>
-#include <linux/gpio/consumer.h>
-#include <linux/of_graph.h>
-#include <linux/regulator/consumer.h>
-#include <video/mipi_display.h>
#define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end))
#define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))