From patchwork Thu Sep 27 23:38:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 147751 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp50806lji; Thu, 27 Sep 2018 16:38:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV629rN5VHtasoIPEhaOQo6Zs0H1db1IHdrgajwa75NcJ3XLIsudfi2Fu/t9qsmFHZEL98tyu X-Received: by 2002:a17:902:20c5:: with SMTP id v5-v6mr7855817plg.62.1538091535497; Thu, 27 Sep 2018 16:38:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538091535; cv=none; d=google.com; s=arc-20160816; b=xzIXI0GB4TlpLxeKZK2kPREHlArjlgfIMBCR8D5DFZZX7gPK0wTiqgSLNVirylMVPR PC5qx/ew+EbkQ/UzTs4jvUDupCjDA7uMg2ZPEReqiQM0UvqTeRZcY9bLqdUQWDrbcTq3 PDyo4soyfFYM84eOy2pV5qn5VkULXnS2mc8KEpeTQrx8jdUPCl5jZZADK8Tsxx20w6Zu zMGlfa496IzXa5qVFpAx7N0TxRHoOKa/3N9ihVx4Au/NNrb+MSfPWxFwfoU2y5cvigfg 2+ND3mXkW04L3u4Gb0rt9z9a6xLMQy5130AkcU1qibXMCF2oMpEefYLLTKE19/FFEUY9 6kOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=7H18ATYtkZ7ntXdwhBId23h6MAPEp21p910ygKNaZGc=; b=ELQ/xKsY2KUAvv3WaKube16TzWPMFslz4icWKuWaK8Q4I7Afe6vMszWdADcYbrEl5w xPctw1dAmNQt3Xsk6IYAxu2rWKrTGcGyTJUWt5VBcIVGrgf+ONJ6NK91xBWzxXaeUyYY RGZdlwh2/Y2uQx1CA3T7SYe7vuQ40zChUEv4JocKHwRlu2xSRDYHKlOC9BuHdAsKDfCi qehfDUXlJrVNFXRLuCZ/fJE8yjYOQzd1ERVLz4RKcz+ClwxllICg8HeNhECRUSgtDWR0 I120S+Bt0bfb3PMCUkCRL2B/S6zm/5KACI0WUj7pxkXib3YnuRGia+vzacKfFppA8Duw zZtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tOOcRHpG; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u127-v6si3252756pgc.234.2018.09.27.16.38.55; Thu, 27 Sep 2018 16:38:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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=@ti.com header.s=ti-com-17Q1 header.b=tOOcRHpG; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726141AbeI1F7l (ORCPT + 5 others); Fri, 28 Sep 2018 01:59:41 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:40698 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbeI1F7l (ORCPT ); Fri, 28 Sep 2018 01:59:41 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8RNcokK004671; Thu, 27 Sep 2018 18:38:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1538091530; bh=7H18ATYtkZ7ntXdwhBId23h6MAPEp21p910ygKNaZGc=; h=From:To:CC:Subject:Date; b=tOOcRHpGe9lsgpTrSt/o+FGLRz6P3NdIHAsceplZ02X1aIPihg19oi9qCjxGaeP5Q juJALMshbre3zKwl1jyM5ln9/NTzIE34WHahWwyC7NOSJyl2/eb/2wZXZYa3lycyPU 0EKxITKrYfTovIfBwndxt71bFThi34C/xvb9lVeI= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8RNcod9003726; Thu, 27 Sep 2018 18:38:50 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 27 Sep 2018 18:38:49 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 27 Sep 2018 18:38:50 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8RNcnnC011093; Thu, 27 Sep 2018 18:38:49 -0500 Received: from localhost (uda0226610.dhcp.ti.com [128.247.59.147]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w8RNcnx19942; Thu, 27 Sep 2018 18:38:49 -0500 (CDT) From: Grygorii Strashko To: Linus Walleij , Tony Lindgren CC: , , , Grygorii Strashko Subject: [PATCH] gpio: omap: drop omap_gpio_list Date: Thu, 27 Sep 2018 18:38:44 -0500 Message-ID: <20180927233844.18443-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org omap_gpio_list is unused so drop it. Signed-off-by: Grygorii Strashko --- drivers/gpio/gpio-omap.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.10.5 Acked-by: Tony Lindgren diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index c0d7ae7..287c933 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -34,8 +34,6 @@ #define OMAP_GPIO_QUIRK_IDLE_REMOVE_TRIGGER BIT(2) #define OMAP_GPIO_QUIRK_DEFERRED_WKUP_EN BIT(1) -static LIST_HEAD(omap_gpio_list); - struct gpio_regs { u32 irqenable1; u32 irqenable2; @@ -1493,8 +1491,6 @@ static int omap_gpio_probe(struct platform_device *pdev) pm_runtime_put(dev); - list_add_tail(&bank->node, &omap_gpio_list); - return 0; }