diff options
author | Lee Jones <lee.jones@linaro.org> | 2015-07-10 08:45:35 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-10 19:34:06 +0100 |
commit | b343e08f3c5623d12829ad4965dd4c4e50f86fa2 (patch) | |
tree | e686e8cab19733b316eb2dc7f655a4f045103d33 /drivers/mfd/wm8350-irq.c | |
parent | f293634b5a9e9acbcc1cac29fac7609bd999f868 (diff) | |
download | talos-op-linux-b343e08f3c5623d12829ad4965dd4c4e50f86fa2.tar.gz talos-op-linux-b343e08f3c5623d12829ad4965dd4c4e50f86fa2.zip |
regulator: pwm-regulator: Fix 'used uninitialized' warning
drivers/regulator/pwm-regulator.c:
In function 'pwm_regulator_init_table':
drivers/regulator/pwm-regulator.c:172:14:
warning: 'length' is used uninitialized in this function [-Wuninitialized]
if ((length < sizeof(*duty_cycle_table)) ||
^
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>
Diffstat (limited to 'drivers/mfd/wm8350-irq.c')
0 files changed, 0 insertions, 0 deletions