summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8925-regulator.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-03-18 11:23:03 +0100
committerMark Brown <broonie@linaro.org>2014-03-18 13:40:19 +0100
commitc74c76e8503e3f23f848a8bdf335b82bdf827d5a (patch)
treea455cca064cbb2e32bfa2b657e70c76b1433061f /drivers/regulator/max8925-regulator.c
parentregulator: max8925: Remove unused state container fields (diff)
downloadlinux-c74c76e8503e3f23f848a8bdf335b82bdf827d5a.tar.xz
linux-c74c76e8503e3f23f848a8bdf335b82bdf827d5a.zip
regulator: max8925: Silence checkpatch warning
Silences the following type of checkpatch warning: WARNING: Missing a blank line after declarations Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/max8925-regulator.c')
-rw-r--r--drivers/regulator/max8925-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/max8925-regulator.c b/drivers/regulator/max8925-regulator.c
index e316abae004a..dad2bcd14e96 100644
--- a/drivers/regulator/max8925-regulator.c
+++ b/drivers/regulator/max8925-regulator.c
@@ -249,6 +249,7 @@ static int max8925_regulator_dt_init(struct platform_device *pdev,
{
struct device_node *nproot, *np;
int rcount;
+
nproot = of_node_get(pdev->dev.parent->of_node);
if (!nproot)
return -ENODEV;