Skip to content

Commit

Permalink
regulator: max1586: of_get_max1586_platform_data() can be static
Browse files Browse the repository at this point in the history
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Fengguang Wu authored and Mark Brown committed Sep 1, 2014
1 parent 4eea4b8 commit 5ccedf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/max1586.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5ccedf0

Please sign in to comment.