Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2056412imm; Sat, 9 Jun 2018 07:03:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLDDFHX1nN5Ipc75m8SrQPzwQmS/T8dOx09J2maJ2lU9mHCN2h0uBIT356Cqp/EAo1VvBcx X-Received: by 2002:a62:1411:: with SMTP id 17-v6mr10355197pfu.3.1528553036381; Sat, 09 Jun 2018 07:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528553036; cv=none; d=google.com; s=arc-20160816; b=JU0oII5Ofor7tO1kCBnZpv3u5wGgBaAp5gO7BI54+3CdCgwaPO1gsiC6gutRSkJalI KA+wKjp12BkBgRQHP77PXy3N6rSQvluLkbVH4VGADb55WECRGBSI3DBs9+CTcE4CYCpK +DH8vCzI4nD8ksqYw30bMKWrVgYVJ1uBOmK46ZqeGv4LC5VJ7bIAu21cfCvEFdAhYI7z /G+Ig5UTVGC9vgEZNs0MKtwCupmi40kUSUh/+PXn7cuXscEVpImUiuWTOpzfGmcDojXV Z/8gdwEmz3pv7GVEyWCFcAQACWFIE5sN7En1v70cLGqzKixoWjlF5QAR5igbr+QFvuCp jj6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=KqMR5MOiwe8rDPnpmEXsY4mPzCR9+MDFfmVGp35l1fk=; b=oSiHLR8203oxkwrUMyoCKcJyk4z3pBmJqtNEe08mW7KBALRJEpe2Cto8qBGrvd2FHt 48gIVeBdDMRMyoKaQpqG6KtNHSHJh42vHnDYn5NcK6opUrcMLF3tOVtz3xGTwaByhgwz 9EsEK8me2F6vHMUCK3/QLYqY4CNWC764gRI24zYMXJKPGqcYDsPF9NN1+saRgpbgBk5J RJKJRh++rDjPn3KdriRqu3RUP6jmfNmeJ+0Qsvc9qOAjYC/9EIX6Ppr9T93nuGeWVT/L eF6Qvb3yOWIZRXm6pvrtnlgjI02Ikr+SO6txpmjj8UtjxWd/3FrKiTsJ7B9+cBYZuYj+ rPjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c8rRgTOQ; 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 q18-v6si18822235pgd.294.2018.06.09.07.03.42; Sat, 09 Jun 2018 07:03:56 -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=c8rRgTOQ; 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 S1753309AbeFIOCj (ORCPT + 99 others); Sat, 9 Jun 2018 10:02:39 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:38169 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753062AbeFIOCh (ORCPT ); Sat, 9 Jun 2018 10:02:37 -0400 Received: by mail-lf0-f65.google.com with SMTP id i83-v6so24177401lfh.5; Sat, 09 Jun 2018 07:02:36 -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; bh=KqMR5MOiwe8rDPnpmEXsY4mPzCR9+MDFfmVGp35l1fk=; b=c8rRgTOQR3h0EK3AeiRK/DuGd6y3FmRNLhkFeBHyuI7diXXpvGNxI+idLx24zfLvmu YMoumiSLbV4JPj+I3JbZkPsfykU9+SpcYRv6BoJkoQ3EIOcAG2cNuFjvna9QFBa/FQIk mWRM1Uxa2oiCcAX7FOZcX2HZQ1edbPvwtG2z0zAmDrUhYcwc8Ml8zxZ8FkBZlVFNNi5h MHvhFC201fQDhsOnD5TzuPJ/pBAbI6+GpCjT32v7Fs12o8spuSSBM4gSZdNUZcLGrZS1 5TulQFxQJ7aWkMZRq9dByEOt59aiJg6XTW0VyOIx/FxiY4i0H0MYKI3p1t4bifUkxdzx UNgw== 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; bh=KqMR5MOiwe8rDPnpmEXsY4mPzCR9+MDFfmVGp35l1fk=; b=miCz/7NRfStfXPmtWu7pDHAcg3+BdHxnm5Okkwh0/gKEv+ftKHhxkwZazTN06bHgwI 4aEedZAb9xI4BHOhUxYIi3vH9fCctLB7ZUA+6KgN53Z0pp4UG8OrlY1mzxtc/nspz/Um /y3kXbsqEZgm3KwRbLK2N326/ADt96hrvqregNo3ZRicNg7hHDctMusOcFZD80RqKIxW cNfsYovnGj6MiU22yQBcAQCb3/mOtvIGOJxE9urWQLcATXknXviUA7iqoERCRa6pK0Dy bLlEHTyqVOwhEWhYH3QkdA+rJEMLII8Pj26vjzfvQwu4mLXzdy66gAgUzfBSLBog3oEP a9YA== X-Gm-Message-State: APt69E3lRkonxuTSW4kgwBWWtMEn80eR8xtmlSiyq9fSIQ1/OW0s1sog p2JDhFkUw6DZcb8RZl2t8wQ= X-Received: by 2002:a19:7:: with SMTP id 7-v6mr6644480lfa.62.1528552955633; Sat, 09 Jun 2018 07:02:35 -0700 (PDT) Received: from localhost.localdomain (apn-31-0-40-98.dynamic.gprs.plus.pl. [31.0.40.98]) by smtp.gmail.com with ESMTPSA id n84-v6sm4477727lfi.19.2018.06.09.07.02.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jun 2018 07:02:34 -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 , Liam Girdwood , Mark Brown , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik Subject: [PATCH 01/10] ARM: OMAP1: ams-delta: drop GPIO lookup table for serio device Date: Sat, 9 Jun 2018 16:02:15 +0200 Message-Id: <20180609140224.32606-1-jmkrzyszt@gmail.com> X-Mailer: git-send-email 2.16.1 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 no the longer needed GPIO lookup table from the board init file. Series created and tested on top of next-20180608 tag from linux-next tree. Signed-off-by: Janusz Krzysztofik --- 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.1