power: supply: twl4030-charger: make twl4030_bci_property_is_writeable static
The function twl4030_bci_property_is_writeable can be made static as it does not need to be in global scope. Signed-off-by: Colin Ian King <colin.king@canonical.com> Tested-by: "H. Nikolaus Schaller" <hns@goldelico.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
This commit is contained in:
parent
cda3b01368
commit
50730eb367
@ -943,7 +943,7 @@ static int twl4030_bci_set_property(struct power_supply *psy,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int twl4030_bci_property_is_writeable(struct power_supply *psy,
|
static int twl4030_bci_property_is_writeable(struct power_supply *psy,
|
||||||
enum power_supply_property psp)
|
enum power_supply_property psp)
|
||||||
{
|
{
|
||||||
switch (psp) {
|
switch (psp) {
|
||||||
|
Loading…
Reference in New Issue
Block a user