summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-imx-gpcv2.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-02-12 14:12:56 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2018-03-11 14:27:12 +0100
commit61b8b22858b9cfa5df52fc0e4893aebfe0bbb804 (patch)
treed2e11b51341e1a22ea6aa79ac9d320107c8f9643 /drivers/irqchip/irq-imx-gpcv2.c
parentirqchip/gic-v3-its: Ensure nr_ites >= nr_lpis (diff)
downloadlinux-61b8b22858b9cfa5df52fc0e4893aebfe0bbb804.tar.xz
linux-61b8b22858b9cfa5df52fc0e4893aebfe0bbb804.zip
irqchip/irq-imx-gpcv2: Remove unused function
imx_gpcv2_get_wakeup_source() is not used anywhere, so remove it. This fixes the following sparse warning: drivers/irqchip/irq-imx-gpcv2.c:34:5: warning: symbol 'imx_gpcv2_get_wakeup_source' was not declared. Should it be static? Fixes: e324c4dc4a59 ("irqchip/imx-gpcv2: IMX GPCv2 driver for wakeup sources") Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-imx-gpcv2.c')
-rw-r--r--drivers/irqchip/irq-imx-gpcv2.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c
index 675eda5ff2b8..4760307ab43f 100644
--- a/drivers/irqchip/irq-imx-gpcv2.c
+++ b/drivers/irqchip/irq-imx-gpcv2.c
@@ -28,20 +28,6 @@ struct gpcv2_irqchip_data {
static struct gpcv2_irqchip_data *imx_gpcv2_instance;
-/*
- * Interface for the low level wakeup code.
- */
-u32 imx_gpcv2_get_wakeup_source(u32 **sources)
-{
- if (!imx_gpcv2_instance)
- return 0;
-
- if (sources)
- *sources = imx_gpcv2_instance->wakeup_sources;
-
- return IMR_NUM;
-}
-
static int gpcv2_wakeup_source_save(void)
{
struct gpcv2_irqchip_data *cd;