diff options
author | Benoit Cousson <b-cousson@ti.com> | 2012-02-29 13:28:14 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-22 08:04:19 -0400 |
commit | 1b8f333ff49f778a1215f65754c31c02408d1d08 (patch) | |
tree | fc064ba1b7383ee62ff5e63832dff13819ed128d /drivers/mfd/twl-core.c | |
parent | 5fd32d6a3a0812ef730b7b83031fc00fa4c4075f (diff) |
mfd: Remove references already defineid in header file from twl-core
The twl-core exported functions are already declared in twl-core.h
Include the header file instead or re-declaring the functions.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/twl-core.c')
-rw-r--r-- | drivers/mfd/twl-core.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 140340f9559b..712e262ba99c 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c | |||
@@ -45,6 +45,8 @@ | |||
45 | #include <linux/i2c.h> | 45 | #include <linux/i2c.h> |
46 | #include <linux/i2c/twl.h> | 46 | #include <linux/i2c/twl.h> |
47 | 47 | ||
48 | #include "twl-core.h" | ||
49 | |||
48 | /* | 50 | /* |
49 | * The TWL4030 "Triton 2" is one of a family of a multi-function "Power | 51 | * The TWL4030 "Triton 2" is one of a family of a multi-function "Power |
50 | * Management and System Companion Device" chips originally designed for | 52 | * Management and System Companion Device" chips originally designed for |
@@ -1154,11 +1156,6 @@ static void clocks_init(struct device *dev, | |||
1154 | 1156 | ||
1155 | /*----------------------------------------------------------------------*/ | 1157 | /*----------------------------------------------------------------------*/ |
1156 | 1158 | ||
1157 | int twl4030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end); | ||
1158 | int twl4030_exit_irq(void); | ||
1159 | int twl4030_init_chip_irq(const char *chip); | ||
1160 | int twl6030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end); | ||
1161 | int twl6030_exit_irq(void); | ||
1162 | 1159 | ||
1163 | static int twl_remove(struct i2c_client *client) | 1160 | static int twl_remove(struct i2c_client *client) |
1164 | { | 1161 | { |