Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Benoit Cousson and committed by
Samuel Ortiz
1b8f333f 5fd32d6a

+2 -5
+2 -5
drivers/mfd/twl-core.c
··· 45 45 #include <linux/i2c.h> 46 46 #include <linux/i2c/twl.h> 47 47 48 + #include "twl-core.h" 49 + 48 50 /* 49 51 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power 50 52 * Management and System Companion Device" chips originally designed for ··· 1156 1154 1157 1155 /*----------------------------------------------------------------------*/ 1158 1156 1159 - int twl4030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end); 1160 - int twl4030_exit_irq(void); 1161 - int twl4030_init_chip_irq(const char *chip); 1162 - int twl6030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end); 1163 - int twl6030_exit_irq(void); 1164 1157 1165 1158 static int twl_remove(struct i2c_client *client) 1166 1159 {