Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1497038ybn; Wed, 2 Oct 2019 17:31:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeazlgUttd5YhBuzcuMUqJQHqAAb6lfHDUQqX01KPVgp8rGuzsAT3ZmbIJu1IeAoK4H/x8 X-Received: by 2002:aa7:d386:: with SMTP id x6mr6762548edq.264.1570062686490; Wed, 02 Oct 2019 17:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570062686; cv=none; d=google.com; s=arc-20160816; b=R94TPmpup7VWdySYNUKFXS6F2VjAZeaBdJX30JTuMUWRcERegzKRApu/ZmdIHPx38h nKJc57BWhivVorr0A31qQ3k50Ojy9u+CtzM/mDfFH4dNECNlOLGCjtAiZlrBTa7oTRCY X9LuEWMLV/i7rtg24KShI6NM+7LJ4qbBVA4TI4nhm3i+mcW9EhddrHWfWt0DYbsiXg3r Unr896zNmGv+blV1fo4gqjWPcaPgqCv8q+CRPZd5SiblMtEwLIOwfVGXo6XzFOxC3ob0 Han8msSAvTU8BF/CgfrNyobuvTA79UTCebIDOst1ujMJYSecWtNVJjMU4edDJ8PikfMY 1daA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iUvA3HctFAZbLaG023LjBql2W+ZBQfiEqjeVbF2OMeI=; b=IaYNE0EWejk+BCvKvKSLwUcIhK6lAVLiEMb5gdxqRNeVqw82O0Exgs6pFcM8wcTmjP SaxrAepsCScIPrks3Z6pa7PaCoIQkWq51MNVTH5qxO/Sz4kjXofh41fEudZcku8lXRCN Haro5CSGQT/QMsLI230InllGFw/DmmEXCFNLqa8sL2E9G/r3xwwzhq5omomEVlnFE1dd GI3TCg+KREX/vsTtXQKNzBjBJAAO3pG/SwbgqUcVUb6++43hmO+5ZmtAIaItuUGDr9s+ BAsWWhr8/zfWOXbIg8O30UalApmL7H21wWEbsBCs02kPqTQC6ACp/tmqZtWXmfczWntZ 2XmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=K4uihTor; 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=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pg17si414256ejb.288.2019.10.02.17.31.02; Wed, 02 Oct 2019 17:31:26 -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=@alliedtelesis.co.nz header.s=mail181024 header.b=K4uihTor; 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=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729379AbfJCADU (ORCPT + 99 others); Wed, 2 Oct 2019 20:03:20 -0400 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:55783 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729215AbfJCADQ (ORCPT ); Wed, 2 Oct 2019 20:03:16 -0400 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 95A36891AC; Thu, 3 Oct 2019 13:03:13 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1570060993; bh=iUvA3HctFAZbLaG023LjBql2W+ZBQfiEqjeVbF2OMeI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=K4uihTorKxE0T+IhKkM9Ri1yc2NhJIFE2zA/QLUImn6J2VPyvKBHT4anq5dgXcP/S c6QZry8JLXjQ88O6zL3+SbauIfUyRCq/cFyvGMSedncjAVFvgLuoqRFkbdYjl+1rA/ u0BTNGyYgQ7KsZY7xiZ3cAv6WcnoHhfSpW6NEj/OxaYi/xanidPEwYwQJ04xHD3thi QYZ9LGTrhvJzTXQcXPdQE/oQpUumc2Xnp3eOxooLSYWAKnZxWwX8v1x66V9KWgJwM6 /j5VGjTOE1ab9QIVBqPve2SbO4ch3e3Nedg15YYHPSlTeeiKod4YdwPzwwS8XPHTiR N5BRy3iwm8x+A== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Thu, 03 Oct 2019 13:03:14 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id 4A36C13EEC9; Thu, 3 Oct 2019 13:03:17 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 729E228003E; Thu, 3 Oct 2019 13:03:13 +1300 (NZDT) From: Chris Packham To: linus.walleij@linaro.org, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, rayagonda.kokatanur@broadcom.com, li.jin@broadcom.com Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH v2 2/2] pinctrl: iproc: use unique name for irq chip Date: Thu, 3 Oct 2019 13:03:10 +1300 Message-Id: <20191003000310.17099-3-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003000310.17099-1-chris.packham@alliedtelesis.co.nz> References: <20191003000310.17099-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the dev_name(dev) for the irqc->name so that we get unique names when we have multiple instances of this driver. Signed-off-by: Chris Packham --- drivers/pinctrl/bcm/pinctrl-iproc-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c b/drivers/pinctrl/b= cm/pinctrl-iproc-gpio.c index 8971fc54e974..c24d49d436ce 100644 --- a/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c +++ b/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c @@ -858,7 +858,7 @@ static int iproc_gpio_probe(struct platform_device *p= dev) struct gpio_irq_chip *girq; =20 irqc =3D &chip->irqchip; - irqc->name =3D "bcm-iproc-gpio"; + irqc->name =3D dev_name(dev); irqc->irq_ack =3D iproc_gpio_irq_ack; irqc->irq_mask =3D iproc_gpio_irq_mask; irqc->irq_unmask =3D iproc_gpio_irq_unmask; --=20 2.23.0