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>
This commit is contained in:
Fengguang Wu 2014-09-01 12:55:58 +01:00 committed by Mark Brown
parent 4eea4b8e44
commit 5ccedf0342

View file

@ -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;