From: Sebastian Reichel Date: Wed, 3 May 2017 10:33:57 +0000 (+0100) Subject: power: supply: twl4030-charger: make twl4030_bci_property_is_writeable static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50730eb367147dc96394d25b3f55c33595663b6f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Tested-by: "H. Nikolaus Schaller" Signed-off-by: Sebastian Reichel --- 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, 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) {