aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max1586.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-09-01 07:55:58 -0400
committerMark Brown <broonie@kernel.org>2014-09-01 07:56:20 -0400
commit5ccedf03427ec71ab29a8bd77110242a605085a5 (patch)
tree5a80e74b4ccc4b7a15dd62f23e652d933ceb8d5e /drivers/regulator/max1586.c
parent4eea4b8e4491d3b2a96ec4b9b0f3a188da018cd1 (diff)
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/regulator/max1586.c')
-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[] = {
159 }, 159 },
160}; 160};
161 161
162int of_get_max1586_platform_data(struct device *dev, 162static int of_get_max1586_platform_data(struct device *dev,
163 struct max1586_platform_data *pdata) 163 struct max1586_platform_data *pdata)
164{ 164{
165 struct max1586_subdev_data *sub; 165 struct max1586_subdev_data *sub;