Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp194711ybp; Thu, 3 Oct 2019 12:09:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0ZyhbXlcCvmX2O5LwMkMr5LVQXuBNFqb8GFBfxC3VKLSD2FskctOARsm81rnFiieRcLB1 X-Received: by 2002:a05:6402:794:: with SMTP id d20mr11168103edy.20.1570129750771; Thu, 03 Oct 2019 12:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570129750; cv=none; d=google.com; s=arc-20160816; b=b7oOgJQKSahz6aGdGz+SvYJLCeNEk6aOxmUAvGLPtk3hgNg7SS9w/64S8xRY1PVjNa 129weHm52WIxe2vwBuvP5ODZz8P00QaN8SI7Fv3uIxEFlnI9NAdWAVy//uGGLqjB/whm GNPp8xmIbTsI3DECU1RlhabkCKYXC+G02dzQc2NslYxcsmGz5/ucxeAew1zwlD1w9Brz W5eXZLZDPiIJE39+VxWfxGioX+mlkaQXU32yGub0OXVIWDo9DfHE4GoLjrsjchN8QXSh UckxBRSLfUhb5KGI2GeDSnVPRh0p5fbDNzcAOYxfELwpZS/ZnCtirvtfNXX7oFX0ykBn RQ2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Re8qV2QdvbkLCeb2K8HW6hCEuJ7wbKTMp5YuNreyJxY=; b=wF+r2k1gW9wyVdZwVkXg1qbJCR3soHcvNjHKp0xcqQlWt6OEQeO7c2aSswhEh+QPJh PfCraacR7gm0LVuDY+Y3zc/G0xZGldclU3QP+tiBX/8P9wW50LsT+ktTMPrGrJW5L6vq U+2FWnuwiR3axVgmxjKMOW1NTnG2dEFReymRUstjVXAd9+1xJYuBpTIe5QHY6craxdnW qGfLci9SbyEY2FEuZzlX/TXO/cZX1YaIOB19sCpdOMVbtxl9SudknPPzZL+b4TiIde/x vDLx0MT8ySI7MNx6IhRiQLcghekWfpfOTQK+MmHCo1556XFVNAO0ZxCBzsMucQ4xslZs UmOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=DhN5LdLl; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v7si1923459edr.125.2019.10.03.12.08.46; Thu, 03 Oct 2019 12:09:10 -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=@broadcom.com header.s=google header.b=DhN5LdLl; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388195AbfJCSgx (ORCPT + 99 others); Thu, 3 Oct 2019 14:36:53 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40457 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728905AbfJCSgx (ORCPT ); Thu, 3 Oct 2019 14:36:53 -0400 Received: by mail-pf1-f196.google.com with SMTP id x127so2289117pfb.7 for ; Thu, 03 Oct 2019 11:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=Re8qV2QdvbkLCeb2K8HW6hCEuJ7wbKTMp5YuNreyJxY=; b=DhN5LdLlc5xvMIxx+vE4iDLvGqtc3RN6Ll9kD5TCP0XPOUl9jAD6ivWCq31Q9jG1Dc xwLcQ3N40GFgAGHTDlvYM4TP9qXfOOW/CwEIZhxaAUqbwkhN16Ut+NgbbutBz9dX269C 7BIlIfjg+RsItpnL7PVKdDy/aM6ypmt2kbppw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Re8qV2QdvbkLCeb2K8HW6hCEuJ7wbKTMp5YuNreyJxY=; b=EY2wEKDxat0zhEjptV41HGG+4+p67nScohNTj0Dbe+GPSEoq74KojEr/RoRwH2ABbA U5NPxqFdvvW/zZ1zcAH3i4R2Oo6hX3WFB1aykpIIFpJ7xHYw+aVsYj7h6dAx+E9d5KkK elhgW3bVTiJMEAX9SQaR9WlhkTs069bEBYes1Jp2nooA1wKKsbMzseNZzcBv5ulqOZQW Ndm2lz18ABuzzTehwienaexjFDRoWzENPJYCEoM0IEMaV0CwA8R11i8h8U+fbt91W0SL TOJy2SZGRt7C8Ofb2lPFFsYuplglokGqi59RxLvCJLxJhh3s8UkAjOzctMWg24symDqS 4W5g== X-Gm-Message-State: APjAAAXHXkpDMffmt+xAiTCXjZMiJRqQNfUUx39KmftNcaQGyduGmFZm Ju9ZDsmLxzPM2yuj/tgzJO1gDBwVFiRi/rWnJg7peUKJh6atfGsqmvgmsC8P5OQJxIBhGcjCNLB jDZrEnGDwO+h7L3TGwd3kc9V2W/pNDDujtlAfflHqGJXnS1IJwbvn2IwG4yF4kv2HMBe+nwrKAS djpRf7xKDy X-Received: by 2002:a17:90b:8d1:: with SMTP id ds17mr12110001pjb.47.1570127811972; Thu, 03 Oct 2019 11:36:51 -0700 (PDT) Received: from [10.136.13.65] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id k8sm2795137pgm.14.2019.10.03.11.36.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Oct 2019 11:36:51 -0700 (PDT) Subject: Re: [PATCH v2 2/2] pinctrl: iproc: use unique name for irq chip To: Chris Packham , 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 References: <20191003000310.17099-1-chris.packham@alliedtelesis.co.nz> <20191003000310.17099-3-chris.packham@alliedtelesis.co.nz> From: Scott Branden Message-ID: <3c03506b-8ac3-4f17-3784-fd0292e3d3ee@broadcom.com> Date: Thu, 3 Oct 2019 11:36:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20191003000310.17099-3-chris.packham@alliedtelesis.co.nz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org looks fine On 2019-10-02 5:03 p.m., Chris Packham wrote: > 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 Acked-by: Scott Branden > --- > 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/bcm/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 *pdev) > struct gpio_irq_chip *girq; > > irqc = &chip->irqchip; > - irqc->name = "bcm-iproc-gpio"; > + irqc->name = dev_name(dev); > irqc->irq_ack = iproc_gpio_irq_ack; > irqc->irq_mask = iproc_gpio_irq_mask; > irqc->irq_unmask = iproc_gpio_irq_unmask;