Commit 730551f7 authored by Bhagyashri Dighole's avatar Bhagyashri Dighole Committed by Greg Kroah-Hartman

staging: fbtft: Remove unused #defines.

Remove unused #defines, which is detected while resolving `CHECK:
Avoid CamelCase` issue.
Signed-off-by: default avatarBhagyashri Dighole <digholebhagyashri@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 219347eb
......@@ -90,15 +90,9 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
return 0;
}
#define RGB565toRGB323(c) ((((c) & 0xE000) >> 8) |\
(((c) & 000600) >> 6) |\
(((c) & 0x001C) >> 2))
#define RGB565toRGB332(c) ((((c) & 0xE000) >> 8) |\
(((c) & 000700) >> 6) |\
(((c) & 0x0018) >> 3))
#define RGB565toRGB233(c) ((((c) & 0xC000) >> 8) |\
(((c) & 000700) >> 5) |\
(((c) & 0x001C) >> 2))
static int write_vmem_8bit(struct fbtft_par *par, size_t offset, size_t len)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment