summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83793.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2014-11-19 14:13:06 +0000
committerMark Brown <broonie@kernel.org>2014-11-21 19:25:35 +0000
commit9f946099fe1927aa746892232c4421e1ae175699 (patch)
tree545de7cfbd1851d475879b21359e1eacc252b949 /drivers/hwmon/w83793.c
parent679c038f544e46803d4fce16636747c3e77af4f1 (diff)
regulator: gpio: fix parsing of gpio list
The list of gpios is defined as optional but the code was failing to properly handle the case of no gpios, and also failing to check for errors reading the entry from the devicetree. This patch fixes the handling of optional gpios - this is a useful feature enabling the gpio-regulator to be used as a dummy variable voltage regulator without having to assign any real GPIO lines. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/hwmon/w83793.c')
0 files changed, 0 insertions, 0 deletions