summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-09-01 13:55:58 +0200
committerMark Brown <broonie@kernel.org>2014-09-01 13:56:20 +0200
commit5ccedf03427ec71ab29a8bd77110242a605085a5 (patch)
tree5a80e74b4ccc4b7a15dd62f23e652d933ceb8d5e /drivers
parentregulator: max1586: add device-tree binding (diff)
downloadlinux-5ccedf03427ec71ab29a8bd77110242a605085a5.tar.xz
linux-5ccedf03427ec71ab29a8bd77110242a605085a5.zip
regulator: max1586: of_get_max1586_platform_data() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/max1586.c2
1 files changed, 1 insertions, 1 deletions
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;