From patchwork Mon Jun 10 17:10:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 166338 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1272031ilk; Mon, 10 Jun 2019 10:11:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUmXfQxs+0O8wC/K4v5yaS9tgNQaZU61NDLaHbzDjU4tS3Yk3y3TnjFiBYo41qrf+b1ZGZ X-Received: by 2002:a17:902:9a84:: with SMTP id w4mr72250352plp.241.1560186700640; Mon, 10 Jun 2019 10:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560186700; cv=none; d=google.com; s=arc-20160816; b=ArMErUI8F2Y1pPSG2QKbsokVCM7piO4GZ/+Vn8MHiR5G9Qs65OZ1TkBsILDTvztCmv 5BhsPdx4WatMhWguQ1Fl9rBluxRd6OCGZDBrto6b1vI+cj07SkEWp5RV8vbZZ/HTEcT3 l2MMIhAhIqa+0RYZkF9GcQhNtWX0PyMLbS2dlrpuYlgBZX2v+3WiXdi9u16Sj0abgR2r HMImbgqCMWUL2G7XlZMYWcGkhWqq5GAde9WRZZiwWxBvA01Jp7loH87U3V9MCZOJ8usl sVWe4bFsb0N3z/2v8eCgFiTR3AQUOXyTTzTXdIL0PFKZC6+AaPw8dQ+5F7u+O0w54S5E U25w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=WNL2UJTUUU6SRtjGfZDQQT6BCUW7ZKQ0up9DfYalQrQ=; b=s1lxQoccgjA48caHh7VNCjQDWlxDIZmkwmOwOzN041iqEFqdOsD8XSrE97Zq/twf2v GFh2uNjjRNggAteGrPAOTcpihQwSNpySjYJfGegepqGyC/AEn/aoACRDsR3xR7xWyIz8 2dkk6z6dKvTOFjL40+JsI6q2hpBPNIogBU1k/+2BuqjDSqUUz3RxzpGwPy9ZaAoF5DVk Ae3bV0K7ND43OnsqtuVpH/4qALOkjYP7DUKyAU0GGjjL185aK9Qtzef3erf7gDnCte+o OOQoG9R5qkLnPEOr8ySY8qGQmFVZsv+g3bOryqhZIAy+Us7zCj52Dn89msQSutyyolVi c1jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eOXivUP5; 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 ay3si9766370plb.298.2019.06.10.10.11.40; Mon, 10 Jun 2019 10:11:40 -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=eOXivUP5; 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 S2387923AbfFJRLj (ORCPT + 5 others); Mon, 10 Jun 2019 13:11:39 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:47274 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387415AbfFJRLj (ORCPT ); Mon, 10 Jun 2019 13:11:39 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x5AHBWdk069004; Mon, 10 Jun 2019 12:11:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1560186692; bh=WNL2UJTUUU6SRtjGfZDQQT6BCUW7ZKQ0up9DfYalQrQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eOXivUP5JFRoF9lmxBpqUtLUkDwr2f+12z1wTyqHIA8KybZJ54m1wXTmtQZyawtU4 /ptB6skik/2qEEw8lclyxvcFnvBQVeVAHgYAc8DxqaB7BQFSHJ1W5Ai3ZN46M3iIC+ g+esuqP6XtHjWdK4+dGdcpi0YMk31HrIbXU1Og4k= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x5AHBWlr079763 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Jun 2019 12:11:32 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 10 Jun 2019 12:11:31 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 10 Jun 2019 12:11:31 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x5AHBVlC066255; Mon, 10 Jun 2019 12:11:31 -0500 From: Grygorii Strashko To: Russell King , Linus Walleij , Tony Lindgren CC: Bartosz Golaszewski , , , , Santosh Shilimkar , Russell King , Grygorii Strashko Subject: [PATCH-next 03/20] gpio: gpio-omap: remove remainder of list management Date: Mon, 10 Jun 2019 20:10:46 +0300 Message-ID: <20190610171103.30903-4-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190610171103.30903-1-grygorii.strashko@ti.com> References: <20190610171103.30903-1-grygorii.strashko@ti.com> 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 From: Russell King Commit c4791bc6e3a6 ("gpio: omap: drop omap_gpio_list") removed the list head and addition to the list head of each gpio bank, but failed to remove the list_del() call and the node inside struct gpio_bank. Remove these too. Fixes: c4791bc6e3a6 ("gpio: omap: drop omap_gpio_list") Signed-off-by: Russell King Signed-off-by: Grygorii Strashko --- drivers/gpio/gpio-omap.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index 44b214e5cefb..708a135e2f0c 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -47,7 +47,6 @@ struct gpio_regs { }; struct gpio_bank { - struct list_head node; void __iomem *base; int irq; u32 non_wakeup_gpios; @@ -1641,7 +1640,6 @@ static int omap_gpio_remove(struct platform_device *pdev) struct gpio_bank *bank = platform_get_drvdata(pdev); cpu_pm_unregister_notifier(&bank->nb); - list_del(&bank->node); gpiochip_remove(&bank->chip); pm_runtime_disable(&pdev->dev); if (bank->dbck_flag)