aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-03-07 01:44:42 -0500
committerLinus Walleij <linus.walleij@linaro.org>2014-03-12 10:12:27 -0400
commitaf3e18f13de42d9a9210a3e32a0ac855d7936d25 (patch)
tree64349d93d50109418c8ad089f3e76ff18b4737fe /drivers/pinctrl
parentdcd278b8604e5c37c61853eb09134cbfea03b7de (diff)
pinctrl: msm: Drop unused includes
These includes are unused or can be handled via forward declarations. Remove them. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-msm.c1
-rw-r--r--drivers/pinctrl/pinctrl-msm.h5
-rw-r--r--drivers/pinctrl/pinctrl-msm8x74.c1
3 files changed, 1 insertions, 6 deletions
diff --git a/drivers/pinctrl/pinctrl-msm.c b/drivers/pinctrl/pinctrl-msm.c
index e563bbc5cefc..b6eb88cf124f 100644
--- a/drivers/pinctrl/pinctrl-msm.c
+++ b/drivers/pinctrl/pinctrl-msm.c
@@ -28,7 +28,6 @@
28#include <linux/interrupt.h> 28#include <linux/interrupt.h>
29#include <linux/irq.h> 29#include <linux/irq.h>
30#include <linux/irqchip/chained_irq.h> 30#include <linux/irqchip/chained_irq.h>
31#include <linux/of_irq.h>
32#include <linux/spinlock.h> 31#include <linux/spinlock.h>
33 32
34#include "core.h" 33#include "core.h"
diff --git a/drivers/pinctrl/pinctrl-msm.h b/drivers/pinctrl/pinctrl-msm.h
index 206e782e2daa..8fbe9fb19f36 100644
--- a/drivers/pinctrl/pinctrl-msm.h
+++ b/drivers/pinctrl/pinctrl-msm.h
@@ -13,10 +13,7 @@
13#ifndef __PINCTRL_MSM_H__ 13#ifndef __PINCTRL_MSM_H__
14#define __PINCTRL_MSM_H__ 14#define __PINCTRL_MSM_H__
15 15
16#include <linux/pinctrl/pinctrl.h> 16struct pinctrl_pin_desc;
17#include <linux/pinctrl/pinmux.h>
18#include <linux/pinctrl/pinconf.h>
19#include <linux/pinctrl/machine.h>
20 17
21/** 18/**
22 * struct msm_function - a pinmux function 19 * struct msm_function - a pinmux function
diff --git a/drivers/pinctrl/pinctrl-msm8x74.c b/drivers/pinctrl/pinctrl-msm8x74.c
index 9aeeb384ddf7..dde5529807aa 100644
--- a/drivers/pinctrl/pinctrl-msm8x74.c
+++ b/drivers/pinctrl/pinctrl-msm8x74.c
@@ -15,7 +15,6 @@
15#include <linux/of.h> 15#include <linux/of.h>
16#include <linux/platform_device.h> 16#include <linux/platform_device.h>
17#include <linux/pinctrl/pinctrl.h> 17#include <linux/pinctrl/pinctrl.h>
18#include <linux/pinctrl/pinmux.h>
19 18
20#include "pinctrl-msm.h" 19#include "pinctrl-msm.h"
21 20