From: Fengguang Wu Date: Mon, 1 Sep 2014 11:55:58 +0000 (+0100) Subject: regulator: max1586: of_get_max1586_platform_data() can be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ccedf03427ec71ab29a8bd77110242a605085a5;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git regulator: max1586: of_get_max1586_platform_data() can be static Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/max1586.c b/drivers/regulator/max1586.c index 5c04a7159baa..86db310d5304 100644 --- a/drivers/regulator/max1586.c +++ b/drivers/regulator/max1586.c @@ -159,7 +159,7 @@ static struct regulator_desc max1586_reg[] = { }, }; -int of_get_max1586_platform_data(struct device *dev, +static int of_get_max1586_platform_data(struct device *dev, struct max1586_platform_data *pdata) { struct max1586_subdev_data *sub;