Skip to content

Commit

Permalink
power: supply: twl4030-charger: make twl4030_bci_property_is_writeabl…
Browse files Browse the repository at this point in the history
…e 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>
  • Loading branch information
sre committed May 4, 2017
1 parent cda3b01 commit 50730eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/supply/twl4030_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 50730eb

Please sign in to comment.