提交 27315cf6 编写于 作者: M Mark Brown 提交者: Liam Girdwood

regulator: Staticise non-exported functions in mc13892

No point exposing functions that aren't used elsewhere to the global
namespace and sparse warns about doing so.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
上级 ded06a52
...@@ -295,8 +295,8 @@ static struct mc13xxx_regulator mc13892_regulators[] = { ...@@ -295,8 +295,8 @@ static struct mc13xxx_regulator mc13892_regulators[] = {
MC13892_GPO_DEFINE(PWGT2SPI, POWERMISC, mc13892_pwgtdrv), MC13892_GPO_DEFINE(PWGT2SPI, POWERMISC, mc13892_pwgtdrv),
}; };
int mc13892_powermisc_rmw(struct mc13xxx_regulator_priv *priv, u32 mask, static int mc13892_powermisc_rmw(struct mc13xxx_regulator_priv *priv, u32 mask,
u32 val) u32 val)
{ {
struct mc13xxx *mc13892 = priv->mc13xxx; struct mc13xxx *mc13892 = priv->mc13xxx;
int ret; int ret;
...@@ -496,7 +496,7 @@ static int mc13892_vcam_set_mode(struct regulator_dev *rdev, unsigned int mode) ...@@ -496,7 +496,7 @@ static int mc13892_vcam_set_mode(struct regulator_dev *rdev, unsigned int mode)
return ret; return ret;
} }
unsigned int mc13892_vcam_get_mode(struct regulator_dev *rdev) static unsigned int mc13892_vcam_get_mode(struct regulator_dev *rdev)
{ {
struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev); struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev);
int ret, id = rdev_get_id(rdev); int ret, id = rdev_get_id(rdev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册