aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft/fbtft.h
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2015-12-20 20:36:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 19:41:20 -0800
commit817d1648ec2ca32888a78aa9f9086b6ea00add86 (patch)
treed2caa57e1cb1cbe278621c5e2c86fd5b4eb05c5d /drivers/staging/fbtft/fbtft.h
parentstaging: fbtft: Use standard MIPI DCS command defines for hx8340bn (diff)
downloadlinux-dev-817d1648ec2ca32888a78aa9f9086b6ea00add86.tar.xz
linux-dev-817d1648ec2ca32888a78aa9f9086b6ea00add86.zip
staging: fbtft: Remove unused and duplicated defines
This patch makes use of the standard MIPI Display Command Set to remove some of duplicate defines from the headers. Signed-off-by: Priit Laes <plaes@plaes.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fbtft.h')
-rw-r--r--drivers/staging/fbtft/fbtft.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h
index 3ccdec94fee7..d3bc3943a983 100644
--- a/drivers/staging/fbtft/fbtft.h
+++ b/drivers/staging/fbtft/fbtft.h
@@ -20,14 +20,6 @@
#include <linux/spi/spi.h>
#include <linux/platform_device.h>
-#define FBTFT_NOP 0x00
-#define FBTFT_SWRESET 0x01
-#define FBTFT_RDDID 0x04
-#define FBTFT_RDDST 0x09
-#define FBTFT_CASET 0x2A
-#define FBTFT_RASET 0x2B
-#define FBTFT_RAMWR 0x2C
-
#define FBTFT_ONBOARD_BACKLIGHT 2
#define FBTFT_GPIO_NO_MATCH 0xFFFF