From 51a71c1fff28a6b1dc6914e5665a67830dc57e6a Mon Sep 17 00:00:00 2001 From: Dennis Menschel Date: Wed, 21 Oct 2015 23:16:53 +0200 Subject: [PATCH] staging: fbtft: use MIPI DCS for ST7789V and C-Berry28 This patch makes use of the standard MIPI Display Command Set to remove redundant entries from the command enum of the ST7789V display controller and also some of the magic constants found in the init sequence of the C-Berry28 display. Signed-off-by: Dennis Menschel Signed-off-by: Greg Kroah-Hartman --- drivers/staging/fbtft/fb_st7789v.c | 39 ++++++++++------------------ drivers/staging/fbtft/fbtft_device.c | 7 ++--- 2 files changed, 18 insertions(+), 28 deletions(-) diff --git a/drivers/staging/fbtft/fb_st7789v.c b/drivers/staging/fbtft/fb_st7789v.c index dc7d304fccc6d..22a7b5b2219fa 100644 --- a/drivers/staging/fbtft/fb_st7789v.c +++ b/drivers/staging/fbtft/fb_st7789v.c @@ -18,6 +18,7 @@ #include #include #include +#include