Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753410AbcKONDC (ORCPT ); Tue, 15 Nov 2016 08:03:02 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:32769 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbcKONCz (ORCPT ); Tue, 15 Nov 2016 08:02:55 -0500 From: Milo Kim To: Lee Jones Cc: Tony Lindgren , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Milo Kim Subject: [PATCH 2/5] mfd: tps65217: Specify the IRQ name Date: Tue, 15 Nov 2016 22:02:12 +0900 Message-Id: <20161115130215.3301-3-woogyom.kim@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161115130215.3301-1-woogyom.kim@gmail.com> References: <20161115130215.3301-1-woogyom.kim@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1216 Lines: 37 TPS65217 MFD is an interrupt controller and MFD slave devices like tps65217-charger and tps65217-pwrbutton request an interrupt to handle each HW event. Currently, TPS65217 IRQ name is not defined, so the result is as below. root@arm:~# cat /proc/interrupts ... 182: 0 INTC 7 Level tps65217-irq 183: 0 - 1 Edge tps65217-charger 185: 0 - 2 Edge tps65217_pwrbutton This patch specifies the name of the interrupt controller. 182: 0 INTC 7 Level tps65217-irq 183: 0 tps65217 1 Edge tps65217-charger 185: 0 tps65217 2 Edge tps65217_pwrbutton Signed-off-by: Milo Kim --- drivers/mfd/tps65217.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c index df2e775..77fb812 100644 --- a/drivers/mfd/tps65217.c +++ b/drivers/mfd/tps65217.c @@ -105,6 +105,7 @@ static void tps65217_irq_disable(struct irq_data *data) } static struct irq_chip tps65217_irq_chip = { + .name = "tps65217", .irq_bus_lock = tps65217_irq_lock, .irq_bus_sync_unlock = tps65217_irq_sync_unlock, .irq_enable = tps65217_irq_enable, -- 2.9.3