From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750838AbdAXRqW (ORCPT ); Tue, 24 Jan 2017 12:46:22 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34001 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750762AbdAXRqV (ORCPT ); Tue, 24 Jan 2017 12:46:21 -0500 From: Amitesh Singh To: thomas.petazzoni@free-electrons.com, noralf@tronnes.org, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] staging: fbtft: remove duplicate entries of ili9225 Date: Tue, 24 Jan 2017 23:16:14 +0530 Message-Id: <1485279974-11669-1-git-send-email-singh.amitesh@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/staging/fbtft/flexfb.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/staging/fbtft/flexfb.c b/drivers/staging/fbtft/flexfb.c index ded1071..1b1219e 100644 --- a/drivers/staging/fbtft/flexfb.c +++ b/drivers/staging/fbtft/flexfb.c @@ -418,22 +418,6 @@ static const struct flexfb_lcd_controller flexfb_chip_table[] = { .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, .height = 320, -- 2.7.4