1
0
Fork 0

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>
zero-colors
Sebastian Reichel 2017-05-03 11:33:57 +01:00 committed by Sebastian Reichel
parent cda3b01368
commit 50730eb367
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ static int twl4030_bci_set_property(struct power_supply *psy,
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)
{
switch (psp) {