mfd: Staticise __adp5520_ack_bits()
Subsystems (2)
PATCH 1/1 mfd: Staticise __adp5520_ack_bits()
The function is not exported as the __ indicates. __
Signed-off-by Mark Brown <[email protected]>
--- drivers/mfd/adp5520.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/mfd/adp5520.c +2 -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) +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
Quoted 4 lines
From: Mark Brown [mailto:[email protected]] The function is not exported as the __ indicates. __
Signed-off-by Mark Brown <[email protected]>
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@@ -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
Quoted 7 lines · Michael
Quoted 4 lines
From: Mark Brown [mailto:[email protected]] The function is not exported as the __ indicates. __
Signed-off-by Mark Brown <[email protected]>
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
-0drivers/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/