tps6586x: staticize funtions
Make funtions static which are locally used in file. Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
This commit is contained in:
parent
96ee97a17b
commit
bafd67d3d0
@ -32,7 +32,7 @@ enum {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define MAX_I2C_RETRY 3
|
#define MAX_I2C_RETRY 3
|
||||||
int tps6586x_read(int reg)
|
static int tps6586x_read(int reg)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
uchar data;
|
uchar data;
|
||||||
@ -61,7 +61,7 @@ exit:
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
int tps6586x_write(int reg, uchar *data, uint len)
|
static int tps6586x_write(int reg, uchar *data, uint len)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int retval = -1;
|
int retval = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user