From patchwork Thu Oct 24 12:22:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 1182988 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=glider.be Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46zRG109vvz9sCJ for ; Thu, 24 Oct 2019 23:22:33 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726494AbfJXMW3 (ORCPT ); Thu, 24 Oct 2019 08:22:29 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:39740 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbfJXMW3 (ORCPT ); Thu, 24 Oct 2019 08:22:29 -0400 Received: from ramsan ([84.195.182.253]) by michel.telenet-ops.be with bizsmtp id HQNS2100Q5USYZQ06QNSt7; Thu, 24 Oct 2019 14:22:27 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1iNc8I-0005pV-FT; Thu, 24 Oct 2019 14:22:26 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1iNc8I-00034s-ES; Thu, 24 Oct 2019 14:22:26 +0200 From: Geert Uytterhoeven To: Linus Walleij , Bartosz Golaszewski Cc: Marc Zyngier , linux-gpio@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 2/2] gpio: rcar: Use proper irq_chip name Date: Thu, 24 Oct 2019 14:22:24 +0200 Message-Id: <20191024122224.11776-3-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191024122224.11776-1-geert+renesas@glider.be> References: <20191024122224.11776-1-geert+renesas@glider.be> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The irq_chip .name field should contain the device's class name, not the instance's name. Signed-off-by: Geert Uytterhoeven --- v2: - No changes. --- drivers/gpio/gpio-rcar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index 187984d26f47a940..cea6124317857bf4 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -483,7 +483,7 @@ static int gpio_rcar_probe(struct platform_device *pdev) gpio_chip->ngpio = npins; irq_chip = &p->irq_chip; - irq_chip->name = name; + irq_chip->name = "gpio-rcar"; irq_chip->parent_device = dev; irq_chip->irq_mask = gpio_rcar_irq_disable; irq_chip->irq_unmask = gpio_rcar_irq_enable;