Messages in this thread Patch in this message | | | From | Sachin Kamat <> | Subject | [PATCH 3/4] regulator: max8925: Silence checkpatch warning | Date | Tue, 18 Mar 2014 15:53:03 +0530 |
| |
Silences the following type of checkpatch warning: WARNING: Missing a blank line after declarations
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/regulator/max8925-regulator.c | 1 + 1 file changed, 1 insertion(+)
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; -- 1.7.9.5
| |