regulator: pwm-regulator: Fix 'unused-variable' warning
authorLee Jones <lee.jones@linaro.org>
Fri, 10 Jul 2015 07:45:34 +0000 (08:45 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jul 2015 18:34:06 +0000 (19:34 +0100)
commitf293634b5a9e9acbcc1cac29fac7609bd999f868
tree2c9727e090f4fbcab913c8717ac848ff79fc7219
parentf3f6439d8635d783f145b321db3049369e745799
regulator: pwm-regulator: Fix 'unused-variable' warning

drivers/regulator/pwm-regulator.c:
  In function 'pwm_regulator_init_continuous':
drivers/regulator/pwm-regulator.c:202:22:
  warning: unused variable 'np' [-Wunused-variable]
     struct device_node *np = pdev->dev.of_node;
              ^
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pwm-regulator.c