Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp150829imm; Thu, 21 Jun 2018 15:42:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIHRVo3/IBO9rkOSVYx+Z9WTjAtaJVyQoyGit18tJCcPtc0IybUtvzvg8UeP5kVaLYQs0+8 X-Received: by 2002:a17:902:8a94:: with SMTP id p20-v6mr30040840plo.258.1529620968825; Thu, 21 Jun 2018 15:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529620968; cv=none; d=google.com; s=arc-20160816; b=usdiZLqi4/GPJdTcvMuQinjCunxkuI/EoaoOaAUzwlYa+stEd0BzhB2l84Vnu6QjhI faig8Om/Z9Ph3SvNCfKgl6d49JwJnwDHO7wUdff56N/uB0tt5w6ptUISJZiSeNNSq0O8 /5DgSmSAF5rWI8zfkZ5ql9bg80vtwJc/LtHQpwWph8CZmmh5Oe0k1sABVAdTKgnCwLMV wqLqwX0PclhySOq2HioMmuM5AKkIhahnKUTDNAx196YzfgmxzOwxjW1ixBYAVL7YIerB obCMtAoCN4lTZU5kD/gJ35etSYGOtHXEy+0ZxTni/O4tcvUkFfv91Rr1Cr8A0kB/uFk5 875w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=TPhhFsd9FVMMGCxESDpS33/hjvQqU5CleXZVyVaf5pU=; b=qYSPgI0daZGLX0l06ZAfW3z8dC9/eWaIgdFBQewJTyimcbdudfR0kb0vd6upR5k2CN 8XZ2y0zt4lt2ou12j8kEYQsvPh6UGhNK89cwtY0M2UAFPL5wbsle5KN5w0ZQujtnYJXQ IHIXlN11J7rDTR5NTT0MrsUGpiaPQ9/RkjkoNVklGjGKVcXL9DiBE6fvcaEZ4ux+HlR3 ehtKBvzazKxfalfN0DohRe8A4zT2waTOWT/4pYweHZys8X8HVRxmn92wtjg3G83My1kA 9cJySgBx2/6H3+bWRddxAioGojb7Z1z/09gvSjMKGxEMpNQ9FdjGwNFqAfM+5V0mjxVD Qf5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=drE3vXJv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189-v6si1442730pgc.494.2018.06.21.15.42.32; Thu, 21 Jun 2018 15:42:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=drE3vXJv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933887AbeFUWlv (ORCPT + 99 others); Thu, 21 Jun 2018 18:41:51 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:44307 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933653AbeFUWls (ORCPT ); Thu, 21 Jun 2018 18:41:48 -0400 Received: by mail-lf0-f67.google.com with SMTP id p23-v6so6578255lfh.11; Thu, 21 Jun 2018 15:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TPhhFsd9FVMMGCxESDpS33/hjvQqU5CleXZVyVaf5pU=; b=drE3vXJvPdfuCp13P6QOu/PZYo70ZIjrgdzDAPZj8OYYKBom8ZOr4p6dhuLxbh1Yov Qj37RMSPBkP/CLbBaR91Ko+9wv/t0qJtN9vxHQVbDqEFZIS1uP93vXWicTV+kQMuNH+3 pkoFDLyjLoFM7SG2P0yCESEYr02HJ3/D3UaEbd5q2GF0isnHyHWRRwJwvt4aoonpMQOb ZiYO5U87vVaR4dXvKhyt2XsZDcnAzYUkuOg2SNaGd30J1u7RfIUamE0gZGT4saUGvqRH EDzQf/M7pehbzQdIQAAPwqLbw6lcLTlJBS6XWZ6h6SLTEoLRo+DfGxIPjG3H4rAvuDR4 zFMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TPhhFsd9FVMMGCxESDpS33/hjvQqU5CleXZVyVaf5pU=; b=D8F98OJP6pPKqFRZJlwGV1BIPdFEsqNYV3MMCLlNTFmLwyN4FK/RI8xb3i6oFLVftV p0CrnOryMWrG6q2zkTnLoiHZLyFErILJZUvt1v2kmEau9XufwIf16qVO3SCRVUIddPZl 1c7C0FMMiI6ATFcYZH42CH4KJOjZJDMivglmMCLRugJS3HmCbF/ouE7WzZC3YBojk/1U Bd8Itk+oP+MwL8ZXch3SLcFVPPGD4k+jE26gsj4prb5F+tvzpgy1ARrEK/qHizxgb87E 3mdShUTtq9gozm62z3BXPbUZTabJtqJvuBARG/wkMPlZ1olfbYaxXSi5+Q4xgeE5OtVP VS2w== X-Gm-Message-State: APt69E30A/R1Bw8+Orpw9MLjUJ2+Djs4HKw6PEALSLQysVJhZOuTtlMu ssu45R10zlStL2WHv6h9QXg= X-Received: by 2002:a19:141f:: with SMTP id k31-v6mr12877314lfi.23.1529620906628; Thu, 21 Jun 2018 15:41:46 -0700 (PDT) Received: from z50.lan (93-181-165-181.internetia.net.pl. [93.181.165.181]) by smtp.gmail.com with ESMTPSA id t6-v6sm1046153lje.18.2018.06.21.15.41.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jun 2018 15:41:45 -0700 (PDT) From: Janusz Krzysztofik To: Dmitry Torokhov , Tony Lindgren , Aaro Koskinen Cc: "David S . Miller " , Mauro Carvalho Chehab , Greg Kroah-Hartman , Andrew Morton , Randy Dunlap , Linus Walleij , Mark Brown , Liam Girdwood , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik Subject: [PATCH v2 01/10] ARM: OMAP1: ams-delta: drop GPIO lookup table for serio device Date: Fri, 22 Jun 2018 00:41:19 +0200 Message-Id: <20180621224128.17623-1-jmkrzyszt@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180609140224.32606-1-jmkrzyszt@gmail.com> References: <20180609140224.32606-1-jmkrzyszt@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org GPIO lookup table for ams-delta-serio device was introduced by commit 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables"). Unfortunately, a follow up patch "Input: ams_delta_serio: use GPIO lookup table" was not accepted by subystem maintainer who requested conversion of the driver to a platform driver, replacepemnt of IRQ GPIO pin with IRQ resource, replacement of GPIO pin providing keyboard power with a regulator and removal of remaining GPIO pins from the driver as not handled by it. Let's start with removal of the no longer needed GPIO lookup table from the board init file. Signed-off-by: Janusz Krzysztofik --- Changelog: v2: rebased on v4.18-rc1, no conflicts arch/arm/mach-omap1/board-ams-delta.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index 80f54cb54276..18e0ff437b27 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c @@ -504,20 +504,6 @@ static struct platform_device cx20442_codec_device = { .id = -1, }; -static struct gpiod_lookup_table ams_delta_serio_gpio_table = { - .table = { - GPIO_LOOKUP(OMAP_GPIO_LABEL, AMS_DELTA_GPIO_PIN_KEYBRD_DATA, - "data", 0), - GPIO_LOOKUP(OMAP_GPIO_LABEL, AMS_DELTA_GPIO_PIN_KEYBRD_CLK, - "clock", 0), - GPIO_LOOKUP(LATCH2_LABEL, LATCH2_PIN_KEYBRD_PWR, - "power", 0), - GPIO_LOOKUP(LATCH2_LABEL, LATCH2_PIN_KEYBRD_DATAOUT, - "dataout", 0), - { }, - }, -}; - static struct platform_device *ams_delta_devices[] __initdata = { &latch1_gpio_device, &latch2_gpio_device, @@ -534,7 +520,6 @@ static struct platform_device *late_devices[] __initdata = { static struct gpiod_lookup_table *ams_delta_gpio_tables[] __initdata = { &ams_delta_audio_gpio_table, - &ams_delta_serio_gpio_table, }; static struct gpiod_lookup_table *late_gpio_tables[] __initdata = { @@ -580,10 +565,6 @@ static void __init ams_delta_init(void) */ ams_delta_audio_gpio_table.dev_id = dev_name(&ams_delta_audio_device.dev); - /* - * No device name is assigned to GPIO lookup table for serio device - * as long as serio driver is not converted to platform device driver. - */ gpiod_add_lookup_tables(ams_delta_gpio_tables, ARRAY_SIZE(ams_delta_gpio_tables)); -- 2.16.4