staging: fbtft: remove duplicate entries of ili9225
authorAmitesh Singh <singh.amitesh@gmail.com>
Tue, 24 Jan 2017 17:46:14 +0000 (23:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 10:33:21 +0000 (11:33 +0100)
There are multiple entries for ili9225 display defined in
flexfb_chip_table array. remove duplicate entries and
keep single entry.

Signed-off-by: Amitesh Singh <singh.amitesh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/flexfb.c

index 7d2ffbb4d5a11a24758e0cc3dec9aafacd83b125..af8422e187808efba9482f2e33e4ee28af342cd8 100644 (file)
@@ -417,22 +417,6 @@ static const struct flexfb_lcd_controller flexfb_chip_table[] = {
                .init_seq = ili9225_init,
                .init_seq_sz = ARRAY_SIZE(ili9225_init),
        },
-       {
-               .name = "ili9225",
-               .width = 176,
-               .height = 220,
-               .regwidth = 16,
-               .init_seq = ili9225_init,
-               .init_seq_sz = ARRAY_SIZE(ili9225_init),
-       },
-       {
-               .name = "ili9225",
-               .width = 176,
-               .height = 220,
-               .regwidth = 16,
-               .init_seq = ili9225_init,
-               .init_seq_sz = ARRAY_SIZE(ili9225_init),
-       },
        {
                .name = "ili9320",
                .width = 240,