Skip to contentSkip to conversation

mfd: Staticise __adp5520_ack_bits()

PATCH In review Mark Brown 3 participants 3 messages Oct 19, 2009

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: Staticise __adp5520_ack_bits()

The function is not exported as the __ indicates. __

---
 drivers/mfd/adp5520.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/mfd/adp5520.c +2 -1
index 401a9b6..b266447 100644
@@ -66,7 +66,8 @@ static int __adp5520_write(struct i2c_client *client,
 	return 0;
 }
 
-int __adp5520_ack_bits(struct i2c_client *client, int reg, uint8_t bit_mask)
+static int __adp5520_ack_bits(struct i2c_client *client, int reg,
+			      uint8_t bit_mask)
 {
 	struct adp5520_chip *chip = i2c_get_clientdata(client);
 	uint8_t reg_val;
Signature · 1 line
1.6.5
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines

From: Mark Brown [mailto:[email protected]] The function is not exported as the __ indicates. __

drivers/mfd/adp5520.c static int __adp5520_write(struct i2c_client *client, · line 69

Quoted 13 lines

---
drivers/mfd/adp5520.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)
drivers/mfd/adp5520.c +0 -1
index 401a9b6..b266447 100644
@@ -66,7 +66,8 @@ static int __adp5520_write(struct i2c_client *client,
 	return 0;
 }
 
-int __adp5520_ack_bits(struct i2c_client *client, int reg, uint8_t

bit_mask)

Quoted 7 lines
drivers/mfd/adp5520.c +2 -1
+static int __adp5520_ack_bits(struct i2c_client *client, int reg,
+			      uint8_t bit_mask)
 {
 	struct adp5520_chip *chip = i2c_get_clientdata(client);
 	uint8_t reg_val;
--

1.6.5

-Michael

#2 lore raw
Quoted 7 lines · Michael
Quoted 4 lines

From: Mark Brown [mailto:[email protected]] The function is not exported as the __ indicates. __

Thanks guys, applied to my for-next branch.

Cheers,
Samuel.

Quoted 24 lines
Quoted 10 lines

---
drivers/mfd/adp5520.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)
drivers/mfd/adp5520.c +0 -0
index 401a9b6..b266447 100644

drivers/mfd/adp5520.c static int __adp5520_write(struct i2c_client *client, · line 69

Quoted 4 lines
drivers/mfd/adp5520.c +0 -1
@@ -66,7 +66,8 @@ static int __adp5520_write(struct i2c_client *client,
 	return 0;
 }
 
-int __adp5520_ack_bits(struct i2c_client *client, int reg, uint8_t

bit_mask)

Quoted 7 lines
drivers/mfd/adp5520.c +2 -1
+static int __adp5520_ack_bits(struct i2c_client *client, int reg,
+			      uint8_t bit_mask)
 {
 	struct adp5520_chip *chip = i2c_get_clientdata(client);
 	uint8_t reg_val;
--

1.6.5

-Michael

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/