aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-03-18 15:53:03 +0530
committerMark Brown <broonie@linaro.org>2014-03-18 12:40:19 +0000
commitc74c76e8503e3f23f848a8bdf335b82bdf827d5a (patch)
treea455cca064cbb2e32bfa2b657e70c76b1433061f /drivers/regulator
parentregulator: max8925: Remove unused state container fields (diff)
downloadlinux-dev-c74c76e8503e3f23f848a8bdf335b82bdf827d5a.tar.xz
linux-dev-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')
-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;