From: Amitesh Singh Date: Tue, 24 Jan 2017 17:46:14 +0000 (+0530) Subject: staging: fbtft: remove duplicate entries of ili9225 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d58812486bda7ae71dec508b2c471914c2344712;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: fbtft: remove duplicate entries of ili9225 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fbtft/flexfb.c b/drivers/staging/fbtft/flexfb.c index 7d2ffbb4d5a1..af8422e18780 100644 --- a/drivers/staging/fbtft/flexfb.c +++ b/drivers/staging/fbtft/flexfb.c @@ -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,