Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b8f333f authored by Benoit Cousson's avatar Benoit Cousson Committed by Samuel Ortiz
Browse files

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: default avatarBenoit Cousson <b-cousson@ti.com>
Acked-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 5fd32d6a
Loading
Loading
Loading
Loading
+2 −5
Original line number Original line Diff line number Diff line
@@ -45,6 +45,8 @@
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <linux/i2c/twl.h>
#include <linux/i2c/twl.h>


#include "twl-core.h"

/*
/*
 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power
 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power
 * Management and System Companion Device" chips originally designed for
 * Management and System Companion Device" chips originally designed for
@@ -1154,11 +1156,6 @@ static void clocks_init(struct device *dev,


/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/


int twl4030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end);
int twl4030_exit_irq(void);
int twl4030_init_chip_irq(const char *chip);
int twl6030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end);
int twl6030_exit_irq(void);


static int twl_remove(struct i2c_client *client)
static int twl_remove(struct i2c_client *client)
{
{