tps6586x: staticize funtions
authorManish Badarkhe <badarkhe.manish@gmail.com>
Thu, 24 Apr 2014 03:25:07 +0000 (08:55 +0530)
committerTom Rini <trini@ti.com>
Mon, 12 May 2014 19:19:46 +0000 (15:19 -0400)
Make funtions static which are locally used in file.

Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
drivers/power/tps6586x.c

index 704c2439b14ae5c0abeb23d80146a47336cb8027..d29d969533d53cfd4841ac2195508e21392f7b42 100644 (file)
@@ -32,7 +32,7 @@ enum {
 };
 
 #define MAX_I2C_RETRY  3
-int tps6586x_read(int reg)
+static int tps6586x_read(int reg)
 {
        int     i;
        uchar   data;
@@ -61,7 +61,7 @@ exit:
        return retval;
 }
 
-int tps6586x_write(int reg, uchar *data, uint len)
+static int tps6586x_write(int reg, uchar *data, uint len)
 {
        int     i;
        int     retval = -1;