From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756644AbbJAPeD (ORCPT ); Thu, 1 Oct 2015 11:34:03 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:36044 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752965AbbJAPd7 (ORCPT ); Thu, 1 Oct 2015 11:33:59 -0400 From: Chen-Yu Tsai To: Thomas Gleixner , Jason Cooper , Marc Zyngier , Maxime Ripard Cc: Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] irqchip: sunxi-nmi: misc. / aesthetic improvements Date: Thu, 1 Oct 2015 23:33:47 +0800 Message-Id: <1443713629-17415-1-git-send-email-wens@csie.org> X-Mailer: git-send-email 2.5.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, sunxi-nmi uses its DT node name, which is normally "interrupt-controller", as its irqchip name. This only serves to confuse the user when one sees "interrupt-controller" in /sys/kernel/debug/irq_domain_mapping or /proc/interrupts. We want it to show something more specific, like "sunxi-nmi". Also do this for the printk calls. While at it, also switch to the new of_io_request_and_map() call, so the IO resource is properly held, and also shows up in /proc/iomem. Regards ChenYu P.S. I'm thinking about removing the "_irq_chip" suffix from the axp20x irq chip name as well. Chen-Yu Tsai (2): irqchip: sunxi-nmi: Use driver name instead of DT node name for identification irqchip: sunxi-nmi: switch to of_io_request_and_map() from of_iomap() drivers/irqchip/irq-sunxi-nmi.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) -- 2.5.3