power: supply: twl4030-charger: make twl4030_bci_property_is_writeable static
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Wed, 3 May 2017 10:33:57 +0000 (11:33 +0100)
committerSebastian Reichel <sre@kernel.org>
Thu, 4 May 2017 14:50:44 +0000 (16:50 +0200)
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>
drivers/power/supply/twl4030_charger.c

index abd10f6..2f82d0e 100644 (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) {