aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-05-03 06:33:57 -0400
committerSebastian Reichel <sre@kernel.org>2017-05-04 10:50:44 -0400
commit50730eb367147dc96394d25b3f55c33595663b6f (patch)
tree5430bbe21fa12143abab00b048887795bd49be74
parentcda3b01368391b48728b7edbbac0ca873b514367 (diff)
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>
-rw-r--r--drivers/power/supply/twl4030_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/twl4030_charger.c b/drivers/power/supply/twl4030_charger.c
index abd10f6861ae..2f82d0e9ec1b 100644
--- a/drivers/power/supply/twl4030_charger.c
+++ b/drivers/power/supply/twl4030_charger.c
@@ -943,7 +943,7 @@ static int twl4030_bci_set_property(struct power_supply *psy,
943 return 0; 943 return 0;
944} 944}
945 945
946int twl4030_bci_property_is_writeable(struct power_supply *psy, 946static int twl4030_bci_property_is_writeable(struct power_supply *psy,
947 enum power_supply_property psp) 947 enum power_supply_property psp)
948{ 948{
949 switch (psp) { 949 switch (psp) {