summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-03-18 14:23:03 +0400
committerMark Brown <broonie@linaro.org>2014-03-18 16:40:19 +0400
commitc74c76e8503e3f23f848a8bdf335b82bdf827d5a (patch)
treea455cca064cbb2e32bfa2b657e70c76b1433061f /drivers/regulator
parent15af45d1522af87bb5914e3c137b0b80bbca5931 (diff)
downloadlinux-c74c76e8503e3f23f848a8bdf335b82bdf827d5a.tar.xz
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;