Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030885AbcDMKc3 (ORCPT ); Wed, 13 Apr 2016 06:32:29 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:38294 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030772AbcDMKc1 (ORCPT ); Wed, 13 Apr 2016 06:32:27 -0400 From: Matthias Brugger To: gregkh@linuxfoundation.org, robh+dt@kernel.org, frowand.list@gmail.com, grant.likely@linaro.org, German.Rivera@freescale.com, jiang.liu@linux.intel.com, marc.zyngier@arm.com, tglx@linutronix.de Cc: treding@nvidia.com, stuart.yoder@nxp.com, jroedel@suse.de, agraf@suse.de, bp@suse.de, matthias.bgg@gmail.com, bhaktipriya96@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, mbrugger@suse.com Subject: [PATCH 5/6] staging: fsl-mc: Clean up of irq_chip callbacks Date: Wed, 13 Apr 2016 12:30:55 +0200 Message-Id: <1460543456-11345-6-git-send-email-mbrugger@suse.com> X-Mailer: git-send-email 2.6.6 In-Reply-To: <1460543456-11345-1-git-send-email-mbrugger@suse.com> References: <1460543456-11345-1-git-send-email-mbrugger@suse.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 24 platform_msi_create_irq_domain already sets the irq_chip callbacks accordingly. We don't need to define them explicitly in the driver. Signed-off-by: Matthias Brugger --- drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c b/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c index 0eecb7e..c787090 100644 --- a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +++ b/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c @@ -22,9 +22,6 @@ static struct irq_chip its_msi_irq_chip = { .name = "fsl-mc-bus-msi", - .irq_mask = irq_chip_mask_parent, - .irq_unmask = irq_chip_unmask_parent, - .irq_eoi = irq_chip_eoi_parent, }; static int its_fsl_mc_msi_prepare(struct irq_domain *msi_domain, -- 2.6.6